title: Octave operator \ error
body: <p>I'm working in GNU Octave and i need to solve the following equation: <code>A*x=b</code> (A, x, b are matrix). </p>
  
  <pre><code>A = [1 1; 2 1];
  b = [1, 2];
  </code></pre>
  
  <p>So i'm doing <code>x = A \ b</code> according to my guidelines. But I get an error:</p>
  
  <pre><code>operator \: nonconformant arguments (op1 is 2x2, op2 is 1x2)
  </code></pre>
  
  <p>I understand what it means, but don't know how to fix this. I've already tried <code>inv(A) * b</code>.</p>
  
  <hr>
  
  <p>By the way it works perfectly in matlab. Here is my script:</p>
  
  <pre><code>A = input('Enter A');
  b = input('Enter b');
  x = A \ b;
  display(x);
  </code></pre>