Why eigen vector looks different than the calculated one

3 ビュー (過去 30 日間)
Ismita
Ismita 2024 年 3 月 13 日
コメント済み: Ismita 2024 年 3 月 16 日
I have a matrix A = [7, 3; 3, -1]; Calculated eigen value = (-2, 8) and eigen vcetor = (1, -3). The code gives different eigen vector. Could you please clarify the reason/ how can I solve that? thanks
A = [7, 3; 3, -1];
[v, d] = eig(A)
v = 2×2
0.3162 -0.9487 -0.9487 -0.3162
d = 2×2
-2 0 0 8

採用された回答

Torsten
Torsten 2024 年 3 月 13 日
編集済み: Torsten 2024 年 3 月 13 日
Eigenvectors are only unique up to a multiplicative constant, and MATLAB's eigenvectors are normalized to be of norm 1:
[1;-3]/norm([1;-3])
ans = 2×1
0.3162 -0.9487

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLinear Algebra についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by