title: Eigenvalues in MATLAB
body: <p>In MATLAB, when I run the command <code>[V,D] = eig(a)</code> for a symmetric matrix, the largest eigenvalue (and its associated vector) is located in last column. However, when I run it with a non-symmetric matrix, the largest eigenvalue is in the first column.</p>
  
  <p>I am trying to calculate eigenvector centrality which requires that I take the compute the eigenvector associated with the largest eigenvalue. So the fact that the largest eigenvalue appears in two separate places it makes it difficult for me to find the solution.</p>