<< polyval Polynomials roots >>

polyvalm


Matrix polynomial evaluation.


Syntax


Y = polyvalm(p, X)

Input argument


p

vector: polynomial coefficients

X

square matrix: input matrix

Output argument


Y

row vector: Output polynomial coefficients

Description


polyvalm evaluates matrix polynomial.

Example


R = polyvalm ([1, 2, 3, 4], [3, -4, 1; -2, 0, 2; -1, 4, -3])

See also


polyval.

History


Version Description
1.0.0 initial version

Author


Allan CORNET

<< polyval Polynomials roots >>