how to get eigenvectors in matlab code example Example: finding eigen values and eigen vectors of a matrix in matlab [V,D] = eig(A)