Why eig() function gives eigenvectors rapidly? what is the secret behind that?

1 view (last 30 days)
hi everybody,
To get eigenvectors, we apply normally SVD or QR function. However eig() provide the eigenvectors in a very fast manner. Can somebody explain why?

Answers (1)

John D'Errico
John D'Errico on 2 Dec 2017
1. You would generally never use QR to compute eigenvectors.
2. EIG uses a different algorithm from the other tools, designed to solve a different problem. Various algorithms take varying amounts of time, dependent on the problem.
3. You CAN use svd to compute eigenvectors for specific problems. SVD can sometimes be more or less time consuming than EIG. (Usually slower, but I can probably give an example where SVD is faster.)
4. Take a numerical linear algebra course, explaining all of the above. Or read some of the multiple books out there on the subject.

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!