>> A=magic(3); B=2*A;
>> det(A)
ans =
-360
>> expm(A)
ans =
1.0e+006 *
1.0898
1.0896 1.0897
1.0896 1.0897
1.0897
1.0896 1.0897
1.0897
>> A=magic(2)
A =
1 3
4 2
>> inv(A)
ans =
-0.2000 0.3000
0.4000 -0.1000
>> B=expm(A)
B =
63.6830 63.5476
84.7302 84.8655
>> logm(B)
ans =
1.0000 3.0000
4.0000 2.0000
>> pow2(B,A)
ans =
1.0e+003 *
0.1274 0.5084
1.3557 0.3395
>> sqrtm(A)
ans =
0.9583 + 0.8081i 0.9583 -
0.6061i
1.2778 - 0.8081i 1.2778 +
0.6061i
沒有留言:
張貼留言