Eigenvalue calculation in MATLAB

2 Ansichten (letzte 30 Tage)
UMUT
UMUT am 18 Jul. 2012
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...

Antworten (1)

Sebastian Holmqvist
Sebastian Holmqvist am 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.

Kategorien

Mehr zu Linear Algebra finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by