Matrix polynomial
Version 1.1.0.0 (9.81 KB) by
Kenneth Johnson
Efficiently evaluate a polynomial with square-matrix argument and scalar coefficients.
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 .
MATLAB Release Compatibility
Created with
R2013a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Mathematics > Elementary Math > Polynomials >
Find more on Polynomials in Help Center and MATLAB Answers
Tags
Acknowledgements
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
