title: Iterate over each row in matrix Octave
body: <p>How do I iterate over each row in <em>Z</em> where <em>Z</em> is a <em>2 * m</em> matrix:</p>
  
  <pre><code>6.1101,17.592
  5.5277,9.1302
  8.5186,13.662
  </code></pre>
  
  <p>How do I access each <em>Z(i)(j)</em> inside this loop?</p>
  
  <p>For example:</p>
  
  <pre><code>for i = z
    fprintf('Iterating over row: '+ i);
    disp (i:1);
    disp (i:2);
  end
  </code></pre>
  
  <p>Would output:</p>
  
  <pre><code>Iterating over row: 1
  6.1101
  17.592
  Iterating over row: 2
  5.5277
  9.1302
  Iterating over row: 3
  8.5186
  13.662
  </code></pre>