left eigenvectors using eigs with sparse matrices

4 views (last 30 days)
Is there any way of using eigs (not eig) to calculate left eigenvectors of a sparse matrix?

Accepted Answer

Ameer Hamza
Ameer Hamza on 31 Mar 2020
Edited: Ameer Hamza on 31 Mar 2020
Here M is your matrix
[right_eig_vectors, eig_val, left_eig_vectors] = eig(M);
  2 Comments
Alexander Holmes
Alexander Holmes on 31 Mar 2020
Sorry, I meant specifically using eigs, as I don't think eig works with sparse matrices.
Ameer Hamza
Ameer Hamza on 31 Mar 2020
In that case, you can find left eigenvectors like this
[right_eig_vector, rig_val] = eigs(M);
[left_eig_vector, ~] = eigs(M');

Sign in to comment.

More Answers (0)

Categories

Find more on Linear Algebra in Help Center and File Exchange

Products


Release

R2017b

Community Treasure Hunt

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

Start Hunting!