Why eig() function gives eigenvectors rapidly? what is the secret behind that?
5 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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?
0 comentarios
Respuestas (1)
John D'Errico
el 2 de Dic. de 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.
0 comentarios
Ver también
Categorías
Más información sobre Linear Algebra en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!