Why is Matlab’s inv slow and inaccurate?

The inaccuracy I mentioned is with the method INV, not MATLAB’s implementation of it. You should be using QR, LU, or other methods to solve systems of equations since these methods don’t typically require squaring the condition number of the system in question. Using inv typically requires an operation that loses accuracy by squaring the condition number of the original system.

–Loren

Leave a Comment