How can I calculate the slope of third order polynomial fit
5 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
回答 (1 件)
John D'Errico
2019 年 7 月 12 日
Is there a reason why you would not think to differentiate it?
help polyder
参考
カテゴリ
Help Center および File Exchange で Get Started with Curve Fitting Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!