In sparse matrix eigs(A,k,sigma), how to specify both shift and direction
Show older comments
The documentation writes:
eigs(A,k,sigma), where A is the sparse matrix, k is the number of eigenvalues and sigma can be scalar or discriptive flag like 'sm'.
However, is it possible to both set the sigma shift andthe direction of eigenvalue?
For example, I want to find the largest real eigenvalue after shift sigma, it seems that I need to both assign sigma to be the value of shift(like (A-sigma*I)^-1 in ARPACK) and sigma to be 'lr'. But how to acheive this since I can only give one sigma value?
The reason that I want to acheive this is because I want to find the eigenvalue that is closest to sigma but also larger than sigma.
Accepted Answer
More Answers (0)
Categories
Find more on Linear Algebra in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!