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

5 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Polynomials 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by