MATLAB: Solving matrix with values spanning orders of magnitudes

matrix solutionvalues spanning order of magnitudes

Hi, I need to solve a matrix with values spanning few orders of magnitudes. When I use mldivide, I get the massage: "Warning: Matrix is close to singular or badly scaled. Results may be inaccurate. RCOND = 2.220290e-16.".
Previously when I didn't apply large range of orders, no problems rose. Are there technics to overcome this problem?
Regards,

Best Answer

No. If the condition is near to eps (in your case it seems to be exactly eps), the matrix cannot be inverted in a stable way. It is like a division by zero. There is no mathematical trick to overcome this, because it is the nature of the matrix division.
Related Question