k = polyder(p)
k = polyder(a,b)
[q,d] = polyder(a,b)
Create a vector to represent the polynomial .
p = [3 0 -2 0 1 5];
polyder to differentiate the polynomial. The result is .
q = polyder(p)
q = 1×5 15 0 -6 0 1
Create two vectors to represent the polynomials and .
a = [1 -2 0 0 11]; b = [1 -10 15];
polyder to calculate
q = polyder(a,b)
q = 1×6 6 -60 140 -90 22 -110
The result is
Create two vectors to represent the polynomials in the quotient,
p = [1 0 -3 0 -1]; v = [1 4];
polyder with two output arguments to calculate
[q,d] = polyder(p,v)
q = 1×5 3 16 -3 -24 1
d = 1×3 1 8 16
The result is
a,b— Polynomial coefficients (as separate arguments)
Polynomial coefficients, specified as two separate arguments of row vectors.
For more information, see Create and Evaluate Polynomials.
polyder([1 0 -1],[10 2])
Complex Number Support: Yes
k— Differentiated polynomial coefficients
Differentiated polynomial coefficients, returned as a row vector.
q— Numerator polynomial
Numerator polynomial, returned as a row vector.
d— Denominator polynomial
Denominator polynomial, returned as a row vector.
Usage notes and limitations:
The output can contain fewer
than the MATLAB® output. However, if the input contains a
the output contains at least one
This function fully supports GPU arrays. For more information, see Run MATLAB Functions on a GPU (Parallel Computing Toolbox).