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

Respuestas (1)

David Sanchez
David Sanchez el 8 de Ag. de 2013
I hope it helps:
greater_array = find( my_eigenvalue_array > -a );
wanted_eig_array = find (greater_array < a );

La pregunta está cerrada.

Etiquetas

Preguntada:

mim
el 7 de Ag. de 2013

Cerrada:

el 20 de Ag. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by