FUNCTION REFERENCE
mpower
Matrix power, the function form of a ^ b.
Matrix power, the function form of a ^ b.
Syntax
C = mpower(A, B)Evaluates a ^ b: repeated squaring for an integer exponent, eigendecomposition
for a non-integer exponent or a scalar base with a matrix exponent. An
ill-conditioned eigenvector basis produces a warning; results may be inaccurate.
Example
mpower([1 1; 0 1], 3) % [1 3; 0 1]Differences from MATLAB: same limits as the ^ operator. An N-D operand gives MATLAB's error (use .^).
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.