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