フィルターのクリア

i had a problem on finding the diagonal values of on my eigen vector

2 ビュー (過去 30 日間)
nirai selvi
nirai selvi 2015 年 10 月 8 日
回答済み: Stalin Samuel 2015 年 10 月 8 日
a=[0 6 1 ; 5 7 8 ; 8 7 2]
a =
0 6 1
5 7 8
8 7 2
>> c=eig(a)
c =
15.4482 + 0.0000i
-3.2241 + 3.0363i
-3.2241 - 3.0363i
>> [V,D] = eig(a)
V =
Columns 1 through 2
0.3269 + 0.0000i 0.1351 - 0.5715i
0.7446 + 0.0000i 0.3232 + 0.3755i
0.5820 + 0.0000i -0.6401 + 0.0000i
Column 3
0.1351 + 0.5715i
0.3232 - 0.3755i
-0.6401 + 0.0000i
D =
Columns 1 through 2
15.4482 + 0.0000i 0.0000 + 0.0000i
0.0000 + 0.0000i -3.2241 + 3.0363i
0.0000 + 0.0000i 0.0000 + 0.0000i
Column 3
0.0000 + 0.0000i
0.0000 + 0.0000i
-3.2241 - 3.0363i
for(i=1:1:3)
z=A(i,j)
end

採用された回答

Stalin Samuel
Stalin Samuel 2015 年 10 月 8 日
if your problem is to extracting the diagonal elements z = diag(D) is your solution

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeOperating on Diagonal Matrices についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by