Leading Eigenvalues and eigenvectors

3 ビュー (過去 30 日間)
Pavlos
Pavlos 2014 年 9 月 18 日
編集済み: Matt J 2014 年 9 月 18 日
Hello, i am trying to use matlab to compute the leading left and right eigenvectors of a network. I create the adjacency matrix in my c++ code and pass it to matlab. The matrix will be symmetric, thus what i do is:
[V, D, W] = eig(Am,'nobalance');
[maxValue, index] = max(diag(D));
RightLeadEigVec = V(:,index);
LeftLeadEigVec = W(index,:);
Is this the right way to get the leading right and left eigenvectors respectively
many thanks,
Pavlos

回答 (0 件)

カテゴリ

Help Center および File ExchangeEigenvalues and Eigenvectors についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by