For an n x n matrix, does matlab calculate the eigenvalues in some pattern? If not, is there a way to make it so?
4 views (last 30 days)
Show older comments
I have two predetermined matrices A,B of size 4 x 4. I have a function whose independent variable is some complex number z and produces the eigenvalues of (A-z*B). Upon plotting however, strange blotches show up which I suspect are areas of discontinuity. However, the function is not discontinuous. Therefore, I think MATLAB may be mixing up the eigenvalues somehow. I don't know how the eigenvalues are organized but is there a way to ensure that the eigenvalues are grouped correctly?
3 Comments
Matt J
on 4 Jun 2013
Since A and B are simply 4x4, why don't you tell us what they are and give us the range of z needed to duplicate your plots?
Accepted Answer
More Answers (0)
See Also
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!