How can I quickly obtain the inverse of a square sparse matrix?
조회 수: 44 (최근 30일)
이전 댓글 표시
Dear All,
I have a square sparse matrix A. I use the following way to obtain its inverse:
invA = A \ eye(size(A));
I am wondering if there is a faster way to obtain invA.
Thanks a lot.
Benson
댓글 수: 0
채택된 답변
J. Alex Lee
2021년 6월 22일
potentially, if you have more information about the properties of A, you can specify them in a call to linsolve
댓글 수: 0
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!