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 日

0 投票

Here M is your matrix
[right_eig_vectors, eig_val, left_eig_vectors] = eig(M);

2 件のコメント

Alexander Holmes
Alexander Holmes 2020 年 3 月 31 日
Sorry, I meant specifically using eigs, as I don't think eig works with sparse matrices.
Ameer Hamza
Ameer Hamza 2020 年 3 月 31 日
In that case, you can find left eigenvectors like this
[right_eig_vector, rig_val] = eigs(M);
[left_eig_vector, ~] = eigs(M');

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeSparse Matrices についてさらに検索

製品

リリース

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by