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

3 lines
92 B
Mathematica
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
function [output] = matrixexponentiation(matrixA, exponent)
output = matrixA^(exponent);