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

VersionDescription

1.0.0

initial version

Author

Allan CORNET

Last updated