Significantly different between two nonlinear functions
Show older comments
Is there any way to find out significantly different between two nonlinear functions?
I have these 2 models for the best fit:
y1 = a1/(b1+x) (blue) and y2 = a2/(b2+x) (red)
Mayby I can log the functions and make it linear and check if the e.g angle are > 0?


Answers (1)
Alan Stevens
on 18 Aug 2020
0 votes
Or you could linearise by simply inverting and plotting 1/y1 against x1, and 1/y2 against x2.
5 Comments
jjohn33
on 18 Aug 2020
Alan Stevens
on 18 Aug 2020
You could calculate the errors on the fits (see linear regression in Matlab's documentation) and compare them.
jjohn33
on 18 Aug 2020
Alan Stevens
on 18 Aug 2020
Find the errors on the slopes and intercepts. Use them to estimate if the lines are the same to within the errors or not.
jjohn33
on 18 Aug 2020
Categories
Find more on Get Started with Curve Fitting Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!