title: Matlab - insert/append rows into matrix iteratively
body: <p>How in matlab I can interactively append matrix with rows?</p>
  
  <p>For example lets say I have empty matrix:</p>
  
  <pre><code>m = [];
  </code></pre>
  
  <p>and when I run the for loop, I get rows that I need to insert into matrix.</p>
  
  <p>For example:</p>
  
  <pre><code>for i=1:5
    row = v - x; % for example getting 1 2 3
    % m.append(row)?
  end
  </code></pre>
  
  <p>so after inserting it should look something like:</p>
  
  <pre><code>m = [
       1 2 3
       3 2 1
       1 2 3
       4 3 2
       1 1 1
  ]
  </code></pre>
  
  <p>In most programming languages you can simply append rows into array/matrix. But I find it hard to do it in matlab.</p>