MATLAB Answers

How can I quickly obtain the inverse of a square sparse matrix?

6 views (last 30 days)
Benson Gou
Benson Gou on 22 Jun 2021
Answered: J. Alex Lee on 22 Jun 2021
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

Accepted Answer

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by