polyder

Polynomial differentiation.

Syntax

  • k = polyder(p)

  • k = polyder(a, b)

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

Input argument

  • p - vector: polynomial coefficients

  • a - row vector: polynomial coefficients

  • b - row vector: polynomial coefficients

Output argument

  • k - row vector: differentiated polynomial coefficients

  • q - row vector: numerator polynomial

  • d - row vector: denominator polynomial

Description

k = polyder(p) return the coefficients of the derivative of the polynomial whose coefficients are given by the vector p.

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

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

Example

p = [30 0 -20 0 10 50];
q = polyder(p)

See also

polyval, poly.

History

Version
Description

1.0.0

initial version

Author

Allan CORNET

Last updated