简体   繁体   中英

Fast Computation of Eigenvectors of a Sparse Matrix

I am working on a project that involves the computation of the eigenvectors of a very large sparse matrix. To be more specific I have a Matrix that is the laplacian of a big graph and I am interested in finding the eigenvector associated to the second smallest eigenvalue. Of course Matlab takes ages to compute the eigenvectors, even because it computes all of them. Any suggestions? Thank you very much Andrea

Have you tried this usage of eigs :

[v,c]=eigs(A,2,'sm');

for example:

A = delsq(numgrid('C',256));  
[v,c]=eigs(A,2,'sm');

generates a ~50K x 50K sparse matrix and find its 2 smallerst eigenvalues and eigenvectors in about 1 second in my old laptop...

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM