Rational matrix derivative
pd=derivat(p)
polynomial or rational matrix
The derivat() function works with expressions like
which consists of functions of linear combinations with integer exponents of one variable (in the example denoted by z).
The function derivat() implements the analytical derivation of p(z), giving the following result.
s=poly(0,'s'); derivat(1/s) // -1/s^2; | ![]() | ![]() |
p1 = poly([1 -2 1], 'x', 'coeff') derivat(p1) | ![]() | ![]() |
p2 = poly([1 -4 2], 'y', 'coeff') derivat(p2) | ![]() | ![]() |
p4 = poly([-1 1], 't', 'roots') derivat(p4) | ![]() | ![]() |