How can I calculate the slope of third order polynomial fit
5 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (1)
John D'Errico
el 12 de Jul. de 2019
Is there a reason why you would not think to differentiate it?
help polyder
Ver también
Categorías
Más información sobre Get Started with Curve Fitting Toolbox en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!