image thumbnail

matrix power

version 1.0.0.0 (1.59 KB) by Kenneth Johnson
more efficient than MATLAB's mpower function

251 Downloads

Updated 02 Dec 2013

View License

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 (2021). matrix power (https://www.mathworks.com/matlabcentral/fileexchange/44575-matrix-power), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2013a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags
Acknowledgements

Inspired by: mpower2 - A faster matrix power function.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!