Eigenvalue calculation in MATLAB
1 view (last 30 days)
Show older comments
When we try to calculate eigenvalues in MATLAB, it's very easy. But the real problem is this; which algorithm is MATLAB using to calculate these. Do you have any open source codes? i want to write a new programme for my final project in master degree but i need to write this code in C language, so i need open source codes and maybe algorithms... thanks in advance for your helps...
0 Comments
Answers (1)
Sebastian Holmqvist
on 18 Jul 2012
[V,D] = eig(A,B,flag) specifies the algorithm used to compute eigenvalues and eigenvectors. flag can be:
'chol' Computes the generalized eigenvalues of A and B using the Cholesky factorization of B. This is the default for symmetric (Hermitian) A and symmetric (Hermitian) positive definite B.
'qz' Ignores the symmetry, if any, and uses the QZ algorithm as it would for nonsymmetric (non-Hermitian) A and B.
0 Comments
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!