title: Adding a dimension to a matrix in Matlab
body: <p>I need to add a new matrix to a previously existant matrix, but on his dimension coordinate.
  I know this is hard to understand, so let's see it on a example:</p>
  
  <p>I've a matrix like this:</p>
  
  <pre><code>480x640x3
  </code></pre>
  
  <p>And I want to add the following one:</p>
  
  <pre><code>480x640x6
  </code></pre>
  
  <p>The result has be this: (6+3 = 9)</p>
  
  <pre><code>480x640x9
  </code></pre>
  
  <p>As you can see it adds but on the 3rd dimension.</p>