How do i write a polynomial and take the derivative?

1 次查看(过去 30 天)
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?

采纳的回答

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

更多回答(0 个)

类别

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