left eigenvectors using eigs with sparse matrices

Is there any way of using eigs (not eig) to calculate left eigenvectors of a sparse matrix?

 Akzeptierte Antwort

Ameer Hamza
Ameer Hamza am 31 Mär. 2020
Bearbeitet: Ameer Hamza am 31 Mär. 2020
Here M is your matrix
[right_eig_vectors, eig_val, left_eig_vectors] = eig(M);

2 Kommentare

Sorry, I meant specifically using eigs, as I don't think eig works with sparse matrices.
In that case, you can find left eigenvectors like this
[right_eig_vector, rig_val] = eigs(M);
[left_eig_vector, ~] = eigs(M');

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Sparse Matrices finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by