Error between two non linear functions

11 次查看(过去 30 天)
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.

采纳的回答

Star Strider
Star Strider 2022-10-21
The goodnessOfFit function is for System Identification Toolbox estimated systems.
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 个)

类别

Help CenterFile Exchange 中查找有关 Linear and Nonlinear Regression 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by