M-File Help: polydiff | View code for polydiff |
Differentiate a polynomial
pd = polydiff(p) is a vector of coefficients of a polynomial (1xN-1) which is the derivative of the polynomial p (1xN).
p = [3 2 -1]; polydiff(p) ans =
6 2
© 1990-2014 Peter Corke.