RosettaCodeData/Task/Matrix-exponentiation-operator/MATLAB/matrix-exponentiation-operator-1.m

3 lines
92 B
Mathematica
Raw Permalink Normal View History

2013-04-10 21:29:02 -07:00
function [output] = matrixexponentiation(matrixA, exponent)
output = matrixA^(exponent);