A=[84,19,20,18;1,2,3,4;12,15,22,17;28,94,14,90]; 用matlabA特征值,特征向量.和A的20次方

问题描述:

A=[84,19,20,18;1,2,3,4;12,15,22,17;28,94,14,90]; 用matlabA特征值,特征向量.和A的20次方

>> A=[84,19,20,18;1,2,3,4;12,15,22,17;28,94,14,90]
A =
84 19 20 18
1 2 3 4
12 15 22 17
28 94 14 90
>> [d,v]=eig(A)
d =
0.5657 0.7412 -0.2478 0.0234
0.0378 -0.0338 0.1134 -0.6928
0.2168 -0.0685 0.9346 -0.0863
0.7947 -0.6670 -0.2286 0.7155
v =
118.2239 0 0 0
0 65.0868 0 0
0 0 16.4805 0
0 0 0 -1.7912
>> A^20
ans =
1.0e+041 *
1.0739 1.1142 0.4171 1.0940
0.0718 0.0745 0.0279 0.0731
0.4116 0.4271 0.1599 0.4194
1.5086 1.5653 0.5860 1.5369
>>