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

问题描述:

谁帮我用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 矩阵是这样

clear,clc
Lmi=1.5;
Lma=97.5;
syms n L
m0=int(n,L,Lmi,Lma);
n=1:99;
m0=subs(m0)

>> [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
>>