I think that one of the main reasons it is so difficult to find is that inv should generally be avoided.
As Mauro wrote, if you can, rephrase your problem so that you can use x = A\b.
I think that one of the main reasons it is so difficult to find is that inv should generally be avoided.
As Mauro wrote, if you can, rephrase your problem so that you can use x = A\b.