As the documentation for the eig function says:
[V,D] = eig(A) returns diagonal matrix D of eigenvalues and matrix V whose columns are the corresponding right eigenvectors, so that A*V = V*D.
So, if you use the command above, for example
- D(2,2) would give you the 2nd eigenvalue
- V(:,2) would give you the 2nd eigenvector
- Sebastian
Best Answer