Method behind eig()?
13 views (last 30 days)
Show older comments
What's the method behin eig() in MATLAB? Is it QR-factarization (with which kind of shift, Hessenberg,...?) ?
1 Comment
KSSV
on 20 Aug 2019
Read the documentation of eig. It depends on the matrix which you provide as input. You have an option of providing your required algorithm to egt eigen values.
Answers (1)
Roshni Garnayak
on 23 Aug 2019
The algorithms used for computing generalized eigenvalues of a pair are Cholesky factorization or QZ algorithm (generalized Schur decomposition). The “eig” function selects an algorithm based on the properties of the matrices.
For further information on the algorithms used refer to the following link:
1 Comment
Bruno Luong
on 23 Aug 2019
In the page it looks like the algo is specified for Generalized Eigen problem (GEP). Granted the normal eigen value is also GEP with the second matrix being identity. But user (at least I) might have doubt when reading it.
See Also
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!