Derivatives
The polyder function
computes the derivative of any polynomial. To obtain the derivative
of the polynomial p = [1 0 -2 -5],
q = polyder(p)
q =
3 0 -2
polyder also computes the derivative of the
product or quotient of two polynomials. For example, create two polynomials a and b:
a = [1 3 5];
b = [2 4 6];
Calculate the derivative of the product a*b by
calling polyder with a single output argument:
c = polyder(a,b)
c =
8 30 56 38
Calculate the derivative of the quotient a/b by
calling polyder with two output arguments:
[q,d] = polyder(a,b)
q =
-2 -8 -2
d =
4 16 40 48 36
q/d is the result of the operation.
 | Roots | | Convolution |  |
Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
Get the Interactive Kit