Clear Filters
Clear Filters

Can I find nonnegative eigenvalues using eigs

4 views (last 30 days)
mim
mim on 13 Jan 2014
Commented: mim on 13 Jan 2014
In a very large sparse matrix I want to use eigs function to find all non-negative eigenvalues and corresponding eigenvectors, is it possible?

Answers (1)

Paul
Paul on 13 Jan 2014
Yes it is. At least if its a symmetric matrix. Else you can only get n-2 eigenvalues, where (n,n) is the size of the matrix. Just output all the eigenvalues and then get the non-negative ones.
  3 Comments
Paul
Paul on 13 Jan 2014
So I guess you're asking if there is an option to set to get only non-negative eigenvalues, which there isn't. Why isn't doing it in more steps not good enough if I may ask?
mim
mim on 13 Jan 2014
just because I want to do it faster

Sign in to comment.

Categories

Find more on Linear Algebra in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!