Why eig() function gives eigenvectors rapidly? what is the secret behind that?
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
John D'Errico
2017-12-2
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 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!