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

1 visualizzazione (ultimi 30 giorni)
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?

Risposte (1)

John D'Errico
John D'Errico il 2 Dic 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.

Categorie

Scopri di più su Linear Algebra in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by