Can I find nonnegative eigenvalues using eigs

In a very large sparse matrix I want to use eigs function to find all non-negative eigenvalues and corresponding eigenvectors, is it possible?

답변 (1개)

Paul
Paul 2014년 1월 13일

0 개 추천

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

mim
mim 2014년 1월 13일
Thanks for your answer, but it is obvious that I can obtain all then choose non negative, but I want to do it in only one step. The matrix is real symmetric
Paul
Paul 2014년 1월 13일
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 2014년 1월 13일
just because I want to do it faster

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Linear Algebra에 대해 자세히 알아보기

태그

질문:

mim
2014년 1월 13일

댓글:

mim
2014년 1월 13일

Community Treasure Hunt

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

Start Hunting!

Translated by