A = [0 2 -2 ; -7 -1 13;-1 1 1] [M,D] = eig(A) A1 = [4 -2 ; 1 1] [M1,D1] = eig(A1)