Matrix polynomial

Efficiently evaluate a polynomial with square-matrix argument and scalar coefficients.

You are now following this Submission

This is a variation of MATLAB's polyvalm function, with a more efficient implementation. For a polynomial of order p, the number of matrix multiplies is approximately 2*(sqrt(p+1)-1).
[See also polyvalm2, File ID: #25780.]

Cite As

Kenneth Johnson (2026). Matrix polynomial (https://au.mathworks.com/matlabcentral/fileexchange/45786-matrix-polynomial), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.1.0.0

Cited polyvalm2 in Description.

1.0.0.0