title: Matlab matrix of images, size issue
body: <p>I have a matrix of <code>m.n</code> images like the following:</p>
  
  <pre><code>images = zeros( m, n, height, width );
  </code></pre>
  
  <p>It means I have <code>m.n</code> images whose width and height is given. Then, in a for loop; I fill these images like:</p>
  
  <pre><code>for i=1:m
      for j=1:n
         images(i,j,:,:) = imread('imagePath');
      end
  end
  </code></pre>
  
  <p>Then, let's say I want to use the image <code>(1,1)</code>:</p>
  
  <pre><code>image1 = images(1,1,:,:);
  </code></pre>
  
  <p>I expect this <code>image1</code> to have <code>size = (h,w)</code>. However, when I say:</p>
  
  <pre><code>size(image1)
  </code></pre>
  
  <p>I get the result:</p>
  
  <pre><code>(1,1,h,w)
  </code></pre>
  
  <h1>Questions:</h1>
  
  <h2>1.</h2>
  
  <p>Why I don't have the following result?</p>
  
  <pre><code>(h,w)
  </code></pre>
  
  <h2>2.</h2>
  
  <p>How can I reconstruct my code to have my expected result?</p>