How can I quickly obtain the inverse of a square sparse matrix?
44 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Benson Gou
am 22 Jun. 2021
Beantwortet: J. Alex Lee
am 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
0 Kommentare
Akzeptierte Antwort
J. Alex Lee
am 22 Jun. 2021
potentially, if you have more information about the properties of A, you can specify them in a call to linsolve
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Linear Algebra finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!