How can I get the (approximate) eigenvectors of a huge matrix?

4 visualizzazioni (ultimi 30 giorni)
I have a huge symmetric matrix M and I want to get the eigenvectors to the k smallest eigenvalues of M (which have to be greater than 0). I know that the smallest eigenvalue is 0.
Currently I am using
eigs(M,k,eps)
but this results in memory consumption of over 100GB of RAM.
  3 Commenti
Steffen
Steffen il 2 Dic 2014
Actually I have 128GB but the systems also needs some resources. Nonetheless my memory is not enough. It was swapping something like 50GB so I don't know how much memory there would be needed... (Even 200GB might be not enough.)
Therefore I am open for suggestions. M is a 150k x 150k matrix. Are there any approximate methods which need much less memory?
Matt J
Matt J il 2 Dic 2014
Modificato: Matt J il 2 Dic 2014
I don't really understand why it's taking so much memory. What happens when you do
eigs(M,k,'sm')

Accedi per commentare.

Risposte (2)

Thorsten
Thorsten il 2 Dic 2014
If M contains many 0's you can define M as a sparse matrix to speed up computation.

Andrew Knyazev
Andrew Knyazev il 15 Mag 2015

Categorie

Scopri di più su Linear Algebra in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by