Why does the EIGS function not return the correct result when I try to find the smallest eigenvalue using the "SM" option in MATLAB 6.5 (R13)?
Afficher commentaires plus anciens
Why does the EIGS function not return the correct result when I try to find the smallest eigenvalue using the "SM" option in MATLAB 6.5 (R13)?
Consider the following matrix:
A=[1.0082 0.2207
0.0004 1.0639];
eig(A)
ans =
1.0067
1.0654
The above shows that the smallest eigenvalue is 1.0067. However, when I use the EIGS function, I do not get the same result:
eigs(A,1,'SM')
ans =
1.0654
Is this a bug with EIGS?
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Linear Algebra dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!