I want to calculate the eigenvalues form the very huge sparse mass and stiffness matrix.
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
HIMANSHU
am 20 Jun. 2024
Kommentiert: HIMANSHU
am 24 Jun. 2024
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 Kommentare
Steven Lord
am 20 Jun. 2024
How big is "too big"?
How many of the eigenvalues do you want to compute?
Akzeptierte Antwort
Aquatris
am 20 Jun. 2024
Bearbeitet: Aquatris
am 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 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Linear Algebra finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!