title: Octave: find the minimum value in a row, and also it's index
body: <p>How would one find the minimum value in each row, and also the index of the minimum value?</p>
  
  <pre><code>octave:1&gt; a = [1 2 3; 9 8 7; 5 4 6]
  a =
  
     1   2   3
     9   8   7
     5   4   6
  </code></pre>