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)?
Mostrar comentarios más antiguos
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?
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Linear Algebra en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!