title: Octave/Matlab: Adding new elements to a vector
body: <p>Having a vector <code>x</code> and I have to add an element (<code>newElem</code>) .</p>
  
  <p>Is there any difference between - </p>
  
  <pre><code>x(end+1) = newElem; 
  </code></pre>
  
  <p>and </p>
  
  <pre><code>x = [x newElem];
  </code></pre>
  
  <p>?</p>