Method behind eig()?

17 views (last 30 days)
Yannic Irion
Yannic Irion on 20 Aug 2019
Commented: Bruno Luong on 23 Aug 2019
What's the method behin eig() in MATLAB? Is it QR-factarization (with which kind of shift, Hessenberg,...?) ?
  1 Comment
KSSV
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.

Sign in to comment.

Answers (1)

Roshni Garnayak
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 “eigfunction 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
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.

Sign in to comment.

Categories

Find more on Linear Algebra in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!