RosettaCodeData/Task/Matrix-exponentiation-operator/Octave/matrix-exponentiation-operator.octave

7 lines
45 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
M = [ 3, 2; 2, 1 ];
M^0
M^1
M^2
M^(-1)
M^0.5