finding some eigenvalues using eigs

I want to find eigenvalues of a matrix with size a few thoushands and I know the eigenvalues span through [- big number , + big number]. How can I find just those eigenvalues that they are in an specific range like: [-a , a] with a is known. Matrix is real symmetric. thanks

답변 (1개)

David Sanchez
David Sanchez 2013년 8월 8일

0 개 추천

I hope it helps:
greater_array = find( my_eigenvalue_array > -a );
wanted_eig_array = find (greater_array < a );

이 질문은 마감되었습니다.

태그

질문:

mim
2013년 8월 7일

마감:

2021년 8월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by