谁帮我用MATLAB计算一下矩阵最大特征值和最大特征值所对应的特征向量,

问题描述:

谁帮我用MATLAB计算一下矩阵最大特征值和最大特征值所对应的特征向量,
1 1/7 1/3
7 1 1/5
3 5 1
1 1/3 3
3 1 5
1/3 1/5 1 矩阵是这样

>> [d,v]=eig([1 1/7 1/3
7 1 1/5
3 5 1])
d =
-0.1327 -0.0663 - 0.1149i -0.0663 + 0.1149i
-0.4094 -0.2047 + 0.3546i -0.2047 - 0.3546i
-0.9026 0.9026 0.9026
v =
3.7089 0 0
0 -0.3545 + 1.5823i 0
0 0 -0.3545 - 1.5823i
>> [d,v]=eig([1 1/3 3
3 1 5
1/3 1/5 1])
d =
0.3715 0.1857 - 0.3217i 0.1857 + 0.3217i
0.9161 -0.9161 -0.9161
0.1506 0.0753 + 0.1304i 0.0753 - 0.1304i
v =
3.0385 0 0
0 -0.0193 + 0.3415i 0
0 0 -0.0193 - 0.3415i
>>