MATLAB: Matrix Operations using MATLAB

MATLABmatrix manipulation

Let A = magic(6)
How to Find eigenvectors of A corresponding to the eigenvalue of A with the largest absolute value?
and how to find Q such that Q1AQ is diagonal?
Million Thanks!

Best Answer

Read about eig
A = magic(6) ;
[v,d] = eig(A) ;