MathWorks Machine Translation

The automated translation of this page is provided by a general purpose third party translator tool.

MathWorks does not warrant, and disclaims all liability for, the accuracy, suitability, or fitness for purpose of the translation.

Polynomial differentiation

k = polyder(p)

k = polyder(a,b)

[q,d] = polyder(a,b)

example

k = polyder(p) returns the derivative of the polynomial represented by the coefficients in p,

k

p

$$k\left(x\right)=\frac{d}{dx}p\left(x\right)\text{\hspace{0.17em}}.$$

k = polyder(a,b) returns the derivative of the product of the polynomials a and b,

a,b

a

b

$$k\left(x\right)=\frac{d}{dx}\left[a\left(x\right)b\left(x\right)\right]\text{\hspace{0.17em}}.$$

[q,d] = polyder(a,b) returns the derivative of the quotient of the polynomials a and b,

q

d

$$\frac{q\left(x\right)}{d\left(x\right)}=\frac{d}{dx}\left[\frac{a\left(x\right)}{b\left(x\right)}\right]\text{\hspace{0.17em}}.$$

collapse all

Create a vector to represent the polynomial .

p = [3 0 -2 0 1 5];

Use polyder to differentiate the polynomial. The result is .

polyder

q = polyder(p)

q = 15 0 -6 0 1

Create two vectors to represent the polynomials and .

a = [1 -2 0 0 11]; b = [1 -10 15];

Use polyder to calculate

q = polyder(a,b)

q = 6 -60 140 -90 22 -110

The result is

Create two vectors to represent the polynomials in the quotient,

p = [1 0 -3 -1]; v = [1 4];

Use polyder with two output arguments to calculate

[q,d] = polyder(p,v)

q = 2 12 0 -11 d = 1 8 16

Polynomial coefficients, specified as a vector. For example, the vector [1 0 1] represents the polynomial $${x}^{2}+1$$, and the vector [3.13 -2.21 5.99] represents the polynomial $$3.13{x}^{2}-2.21x+5.99$$.

[1 0 1]

[3.13 -2.21 5.99]

For more information, see Create and Evaluate Polynomials.

Data Types: single | doubleComplex Number Support: Yes

single

double

Polynomial coefficients, specified as two separate arguments of row vectors.

Example: polyder([1 0 -1],[10 2])

polyder([1 0 -1],[10 2])

Integrated polynomial coefficients, returned as a row vector.

Numerator polynomial, returned as a row vector.

Denominator polynomial, returned as a row vector.

conv | deconv | polyint | polyval

conv

deconv

polyint

polyval

You clicked a link that corresponds to this MATLAB command:

Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.

Choose your country to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .

You can also select a location from the following list:

See all countries