Can I find nonnegative eigenvalues using eigs

4 次查看(过去 30 天)
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
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 个评论
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?

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Linear Algebra 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by