Symmetric Eigenvalue Problem

2 views (last 30 days)
Kenneth
Kenneth on 9 Apr 2011
How do you calculate the symmetric eigenvalue problem in Matlab? I tried using the eig(A) and interestingly enough i get the right numbers but the signs are wrong on some of the numbers. I'm not sure what the difference really is. I was wondering if anyone had any ideas on why this might be happening. Thanks for your help!

Accepted Answer

the cyclist
the cyclist on 9 Apr 2011
"eig" is definitely the correct function, and I think you can rest assured that the output is correct. Can you post a simple example that you think is wrong?
  2 Comments
Kenneth
Kenneth on 9 Apr 2011
Yeah I agree with you. The example problem I had must have accidentally left out a few negative signs on accident.
Walter Roberson
Walter Roberson on 9 Apr 2011
Kenneth, are *all* of the signs reversed? I skimmed a posting recently that indicated there are two different ways to write the eigenvalue problem, and that the only difference between them was to reverse all of the signs.

Sign in to comment.

More Answers (0)

Categories

Find more on Eigenvalues & Eigenvectors 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!