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

Réponses (1)

David Sanchez
David Sanchez le 8 Août 2013
I hope it helps:
greater_array = find( my_eigenvalue_array > -a );
wanted_eig_array = find (greater_array < a );

Cette question est clôturée.

Tags

Question posée :

mim
le 7 Août 2013

Clôturé :

le 20 Août 2021

Community Treasure Hunt

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

Start Hunting!

Translated by