How do i write a polynomial and take the derivative?

1 view (last 30 days)
I want to take the derivative of a polynomial, but Im not sure how to write the polynomial in the script T(A)=A^3 - A^2 - A -1. For the derivative do i use Polyder?

Accepted Answer

Stephan
Stephan on 6 Oct 2019
>> T = [1 -1 -1 -1]
T =
1 -1 -1 -1
>> dT = polyder(T)
dT =
3 -2 -1

More Answers (0)

Categories

Find more on Polynomials in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!