left eigenvectors using eigs with sparse matrices

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

 채택된 답변

Ameer Hamza
Ameer Hamza 2020년 3월 31일
편집: Ameer Hamza 2020년 3월 31일
Here M is your matrix
[right_eig_vectors, eig_val, left_eig_vectors] = eig(M);

댓글 수: 2

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');

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Sparse Matrices에 대해 자세히 알아보기

제품

릴리스

R2017b

질문:

2020년 3월 31일

댓글:

2020년 3월 31일

Community Treasure Hunt

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

Start Hunting!

Translated by