Large Spare matrix inversion

조회 수: 11 (최근 30일)
Sarwmitra Sharma
Sarwmitra Sharma 2020년 1월 20일
댓글: Christine Tobler 2020년 1월 20일
Hello I m doing a project in FEM, I want to increase the speed of my matlab code. I changed full matrix to sparse which reduced the memory but inverse of such big matrix (65000x65000) is taking time. I have tried gmres, iscstab, inv, backslash? This wasnt effective. Please suggest a method or function or toolbox which will increase the speed of matrix inversion?
  댓글 수: 1
Christine Tobler
Christine Tobler 2020년 1월 20일
Do you mean matrix inversion, or solving a linear system? The inverse of a sparse matrix is typically nearly dense, so the inverse of your 65000x65000 matrix would not fit in memory.
If you are solving a linear system A*x = b, backslash is a good start. The iterative solvers can be more effective, although it's likely that you will need to find a good preconditioner for your system matrix (maybe a simplified version of your FEM problem could work?).

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Sparse Matrices에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by