polyvalm
Y = polyvalm (P, X) -- evaluate a polynomial with matrix arguments. Y = P(1)*X^(N-1) + ... + P(N-1)*X + P(N)*I, using matrix powers. X must be square.
polyvalmY = polyvalm (P, X) -- evaluate a polynomial with matrix arguments. Y = P(1)*X^(N-1) + ... + P(N-1)*X + P(N)*I, using matrix powers. X must be square.