why do I get different EigenVectors than my instructor got?

16 views (last 30 days)
  1 Comment
Roberto Vieytes
Roberto Vieytes on 30 Jul 2021
The eigenvector Matlab give us are normaliced, your intructor don use normalices vectors. bye

Sign in to comment.

Accepted Answer

Steven Lord
Steven Lord on 5 Oct 2020
Edited: Steven Lord on 5 Oct 2020
If v is an eigenvector of A corresponding to eigenvalue d, multiplying v by a non-zero scalar k results in another eigenvector of A with the same eigenvalue. In this case, the first column of V matches the eigenvector [2; 1] and the second matches [10; 7].
>> A = [0.6 0.5; -0.175 1.2];
>> [V, D] = eig(A);
>> k1 = 1./max(V(:, 1))
k1 =
-2.23606797749979
>> k1*V(:, 1)
ans =
2
1
>> k2 = 10./V(1, 2)
k2 =
-12.2065556157337
>> k2*V(:, 2)
ans =
10
7
  2 Comments
zolteckx6
zolteckx6 on 5 Oct 2020
% I really appreciate your time on this one!
A = [1 2 ; 5 4]
[V, D] = eig(A)
k1 = 1./max(V(:, 1))
k1*V(:, 1)
k2 = 10./V(1, 2)
W = k2*V(:, 2)
V2 = W/5
% a question of understanding
% doing the problem by hand naturally leads to V1 = [-1 1]
% and V2 = [2 5]
% plugging in -6 for labda gives (-5 2 ; 5 -2)
% I understand that [-985/1393 985/1393] = [-1 1]
% but why does matlab give me these values?

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!