Error between two non linear functions
조회 수: 10 (최근 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!