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

7 lines
45 B
Text
Raw Permalink Normal View History

2013-04-10 22:43:41 -07:00
M = [ 3, 2; 2, 1 ];
M^0
M^1
M^2
M^(-1)
M^0.5