title: Removing third dimension of matrix
body: <p>Lets say I have matrix such that <code>A(:,:,1)=[1,2,3;2,3,4]</code>, <code>A(:,:,2)=[3,4,5;4,5,6]</code>.</p>
  
  <p>How is the easiest way of accessing and plotting the vectors (1,2,3),(2,3,4),(3,4,5),(4,5,6). I tried creating <code>B=[A(:,:,1);A(:,:,2)]</code>, but i need a procedure to arbitrary number of A's. </p>
  
  <p>Hope this isn't trivial and I've formulated myself satisfactory.</p>