MATLAB Answers

Solving equation for a value of x

12 views (last 30 days)
ali koulani
ali koulani on 8 Dec 2020
Commented: ali koulani on 8 Dec 2020
hi everyone
this is a pretty basic question but i couldnt find an answer to it
i have a 5th order polynomial function g(x) which im trying to find the slope of it at a given point x = 20
im using matlab R2020a

Accepted Answer

Stephan
Stephan on 8 Dec 2020
Edited: Stephan on 8 Dec 2020
You can use polyder, that calculates the derivative of a polynomial and then you can calculate the result at x=20 using polyval.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by