how to find lambda from this formula?

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

 Risposta accettata

Brian B
Brian B il 3 Gen 2013

0 voti

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.

2 Commenti

does eig(a) will result to lambda?
There are, in general, multiple solutions (values of lambda) which satisfy the equation det(A-lambda*I)=0. eig(A) returns a vector, each element of which is one solution.
For an n-by-n matrix A, the vector returned by eig(A) will have length n. That is because det(A-lambda*I) is a degree-n polynomial, and hence has n (possibly complex) roots by the fundamental theorem of algebra. Note that some values may be repeated; that indicates the algebraic multiplicity of the root.

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Linear Algebra in Centro assistenza e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by