How can I calculate the slope of third order polynomial fit
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I have a third order polynomial fit. I would like to calculate the slope of the fit. Any ideas on how i can do this? Is possible to obtain this from the coefficients?
[p,S] = polyfit(x,y,3);
[y_fit,delta] = polyval(p,x,S);
0 Kommentare
Antworten (1)
John D'Errico
am 12 Jul. 2019
Is there a reason why you would not think to differentiate it?
help polyder
Siehe auch
Kategorien
Mehr zu Get Started with Curve Fitting Toolbox finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!