How to find the maximum slope, of a polynomial in Polyfit?

2 ビュー (過去 30 日間)
Malte
Malte 2014 年 5 月 31 日
回答済み: Matt J 2014 年 5 月 31 日
Hi all
I Have a given set of data points (around 600.000). i have used the polyfit function, to fit a 5. degree polynomial ( P_fit = polyfit(Z,X,5); ). And yes my Z and X axis has to be shifted. Now my question is, how do i find the maximum slope on the polynomial? I have searched around this forum and the web, but without any success...

回答 (1 件)

Matt J
Matt J 2014 年 5 月 31 日
You can get the derivative of the polynomial using the polyder command.

カテゴリ

Help Center および File ExchangePolynomials についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by