Eigenvalue calculation in MATLAB

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...

回答(1 个)

[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.

类别

帮助中心File Exchange 中查找有关 Linear Algebra 的更多信息

标签

提问:

2012-7-18

Community Treasure Hunt

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

Start Hunting!

Translated by