matrix power

more efficient than MATLAB's mpower function

You are now following this Submission

mpwr(x,p) is equivalent to x^p, but more efficient for scalar, integer p. (x is assumed to be square, non-sparse.)

Cite As

Kenneth Johnson (2026). matrix power (https://www.mathworks.com/matlabcentral/fileexchange/44575-matrix-power), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: mpower2 - A faster matrix power function.

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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