right eigenvector corresponding to an eigenvalue 1

 Accepted Answer

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

2 Comments

So how would I get the left eigenvector of the matrix?
Also from the documentation for eig (hint: you should look at it!)
[V,D,W] = eig(A) also returns full matrix W whose columns are the corresponding left eigenvectors, so that W'*A = D*W'.
- Sebastian

Sign in to comment.

More Answers (0)

Categories

Find more on Linear Algebra in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!