RosettaCodeData/Task/Matrix-exponentiation-operator/Octave/matrix-exponentiation-operator.octave
2023-07-01 13:44:08 -04:00

6 lines
45 B
Text

M = [ 3, 2; 2, 1 ];
M^0
M^1
M^2
M^(-1)
M^0.5