Eig(A) - get eigenvalues in order of matrix

1 view (last 30 days)
Neil Sengupta
Neil Sengupta on 19 Jul 2017
Answered: Walter Roberson on 19 Jul 2017
I have a matrix that looks like the following:
A = [A 0 E; 0 B D; E 0 C]
I'm using the function eig(A)to get eigenvalues. Is there a way to get the eigenvalues in the order of the matrix? (e.g. have the first eigenvalue for the first row, second eigenvalue for the second row, and third eigenvalue for the third row)?

Answers (1)

Walter Roberson
Walter Roberson on 19 Jul 2017
No. Eigenvalues are a global property, not associated with particular rows. For a 3 x 3 matrix, the eigenvalues are 3 roots of a cubic, with two of the solutions being complex conjugates of each other. There is no inherent way to order those, or to associate them with a particular row.

Categories

Find more on Linear Algebra in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!