Eigen Value and Eigen Vector in Matlab
Post date: Mar 11, 2018 6:10:36 AM
Eigen Value and Vector:-
To find only the eigenvalues, use the command eig() where your matrix is within the parenthesis. The result is a vector which we have chosen to call e. Note that in this case we have two complex eigenvalues (1+I, 1-i) and one real eigenvalue (-2).
A=[5 -2 -2; 7 -4 -2; 3 1 -1]
A =
5 -2 -2
7 -4 -2
3 1 -1
e=eig(A)
e =
+ 2.0000i
- 2.0000i
-2.0000 + 0.0000i
[V,D]=eig(A)
V =
0.3536 + 0.3536i 0.3536 - 0.3536i -0.0000 + 0.0000i
0.3536 + 0.3536i 0.3536 - 0.3536i -0.7071 + 0.0000i
0.7071 + 0.0000i 0.7071 + 0.0000i 0.7071 + 0.0000i
D =
1.0000 + 2.0000i 0.0000 + 0.0000i 0.0000 + 0.0000i
0.0000 + 0.0000i 1.0000 - 2.0000i 0.0000 + 0.0000i
0.0000 + 0.0000i 0.0000 + 0.0000i -2.0000 + 0.0000i