Error between two non linear functions
11 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Szczepan Letkiewicz
el 21 de Oct. de 2022
Respondida: Star Strider
el 21 de Oct. de 2022
Hello.
I would like to determine the error between two functions that I have plotted. They are non linear and canot be linearized. One is simulated, and one is a set of data from an experiment. I have tried to use the goodnessoffit function but im not sure if that is the correct method. I am not even sure how to approach this problem from an error analysis stand point.
What should I do, or look into?
Thanks in advanced
plot(t,T1,'red');
hold on;
scatter(t,T1_d,'.','blue')
I have attached a picture of the data and the function.

0 comentarios
Respuesta aceptada
Star Strider
el 21 de Oct. de 2022
If you are estimating a nonlilnear model, then the fitnlm function will give you the necessary statistics on the parameters, and the associated predict function will estimate the confidence intervals on the fitted function.
It would likely be best to estimate the system with the data and get the relevant parameter estimates and confidence intervals for them, and then assess it with the associated predict function.
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Linear and Nonlinear Regression en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!