When I try to calculate a matrix inverse using Matlab\'s inv() operation:
A = rand(10,10); b = rand(10,1); C = inv(A); D = C*b;
I get the foll
Some additional information:
If you are to calculate
Ax = b
For many different b's, but with a constant A, you might want to pre-factorize A. That is:
b
A
[L U P] = lu(A); x = (U \ (L \ ( P * b)));
Don't know about other fields, but this occurs frequently in power system engineering at least.