Wrong calculation of eigenvalues

5 views (last 30 days)
Antigoni
Antigoni on 27 Jun 2013
Hello all!
I'm trying to solve the generalized eigenvalue problem (A-λB)*V=0 and find the eigenvalues λ. Using qz command (or eig command for the problem (inv(B)*A-λI)*V=0) in Matlab I take the eigenvalues. In order to validate my results for a given eigenvalue λi, I calculate the det(A-λiB), which I want to be near zero. Unfortunately, I come up with a result of rank 1e80!!
Additionally, the condition number of the equivalent matrix inv(B)*A is of rank 1e9. Is this normal? I assume that I have to deal with a singular matrix, but I don't understand why Matlab doesn't warn me for that...
Please, any help would be appreciated.
Thanks, Antigoni

Accepted Answer

Antigoni
Antigoni on 27 Jun 2013
Edited: Matt J on 27 Jun 2013
Relocated to Comment by Matt J

More Answers (1)

Matt J
Matt J on 27 Jun 2013
I calculate the det(A-λiB), which I want to be near zero
You should really look at rcond(A-λiB) instead of the determinant.
  6 Comments
Matt J
Matt J on 27 Jun 2013
Edited: Matt J on 27 Jun 2013
No problem, but for future reference, it would have been more appropriate for you to accept-click my Answer (since it helped you) than your own :-)
Antigoni
Antigoni on 27 Jun 2013
Oops! Wrong click I guess. I'm sorry...

Sign in to comment.

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!