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)?
Show older comments
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?
Accepted Answer
More Answers (0)
Categories
Find more on Linear Algebra in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!