first insert your vector
A = [ fill this in]
and find the eigenvalues and eigenvectors using
[P, D] = eig(A)
if you have an initial vector insert that using
y0 = [ given vector ]'
create a new matrix, P, by ordering the column vectors based on their eigenvalues (largest to smallest) w the format...