I want to calculate the eigenvalues form the very huge sparse mass and stiffness matrix.
4 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
Steven Lord
2024 年 6 月 20 日
How big is "too big"?
How many of the eigenvalues do you want to compute?
採用された回答
Aquatris
2024 年 6 月 20 日
編集済み: Aquatris
2024 年 6 月 20 日
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 件のコメント
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!