I want to calculate the eigenvalues form the very huge sparse mass and stiffness matrix.
5 views (last 30 days)
Show older comments
I have mass and stiffness matrix in sparse format since the size of the matrix is too big.
I want to claculate the eigenvalues from them in the sparse format only. How to do so?
2 Comments
Accepted Answer
Aquatris
on 20 Jun 2024
Edited: Aquatris
on 20 Jun 2024
Example from mathworks eigs() site:
A = delsq(numgrid('C',15));
size(A)
eigs(A)' % by default 6 largest eigenvalues
eigs(A,20)' % optional argument to define how many eigenvalues you want
eigs(A,5,'smallestabs')' % optional argument to get the smallest eigenvalues instead
0 Comments
More Answers (0)
See Also
Categories
Find more on Linear Algebra in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!