Leading Eigenvalues and eigenvectors

조회 수: 14 (최근 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 CenterFile Exchange에서 Eigenvalues and Eigenvectors에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by