MATLAB Answers

How do i write a polynomial and take the derivative?

1 view (last 30 days)
Jose Grimaldo
Jose Grimaldo on 6 Oct 2019
Answered: Stephan on 6 Oct 2019
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?

  0 Comments

Sign in to comment.

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

  0 Comments

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by