Skip to content

polyder

polynomial · scripts/polynomial/polyder.m

Q = polyder (P)
Q = polyder (A, B)
[Q, D] = polyder (B, A)  --  polynomial derivatives.

One argument: derivative of P.  Two arguments with one output: derivative
of the product A*B.  Two outputs: derivative of the quotient B/A as the
fraction Q/D.  Polynomials are coefficient vectors, highest power first.