title: Splitting 4d array into 3d Arrays
body: <p>I have a 4D matrix of size: <code>50 x 180 x 320 x 3</code></p>
  
  <p>where the first dimension is nothing but an index to choose from 50 pictures, the other three dimensions <code>180 x 320 x 3</code> represent an image. for example (3,:,:,:) is my third image and so on...
  now I want to plot images using <code>image</code> function (or any other plot function), problem is it only accepts 2D or 3D matrices. how can I plot this?**</p>