I want to calculate the eigenvalues form the very huge sparse mass and stiffness matrix.
5 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposta accettata
Aquatris
il 20 Giu 2024
Modificato: Aquatris
il 20 Giu 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 Commenti
Più risposte (0)
Vedere anche
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!