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.

0 件のコメント
採用された回答
Star Strider
2022 年 10 月 21 日
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 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Linear and Nonlinear Regression についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!