MATLAB: How to find lambda from this formula

eigenvaluematrix

det (A – lambda * I) = 0
where:
A= a square matrix, ex: [2 5 4;8 6 9;3 4 6]
I= identity matrix

Best Answer

e = eig(A) returns a vector of eigenvalues of the matrix A. To get the associated eigenvectors, use [V,D] = eig(A). See the documentation for eig to interpret V and D.