s="string">compact</span> ;
A = rand (3)
b = rand (3,1)
x = A\b
r = b-A*x ;
norm (r)
</pre><pre class="codeoutput">A =
    0.8241    0.0121    0.9128
    0.7273    0.4032    0.5886
    0.5890    0.9468    0.7197
b =
    0.3478
    0.5430
    0.6993
x =
    0.6294
    0.4942
   -0.1937
ans =
     0
</pre><h2>BACKSLASH versus INV ... let the battle begin<a name="4"></a></h2>
         <p>The backslash operation x=A\b is mathematically the same as x=inv(A)*b. However, backslash is faster and more accurate since