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
채택된 답변
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!