r of indicies) into given array

 OUTPUTS
  sub     - sub(i,:) is the ith set of subscripts into the array.

 EXAMPLE
  sub = ind2sub2( [10,10], 20 )         % 10 2
  sub = ind2sub2( [10,10], [20 19] )    % 10 2; 9 2

 See also IND2SUB, <a href="sub2ind2.html" class="code" title="function ind = sub2ind2( siz, sub )">SUB2IND2</a>

 Piotr's Image&amp;Video Toolbox      Version 2.0
 Copyright 2012 Piotr Dollar.  [pdollar-at-caltech.edu]
 Please email me if you find bugs, or have suggestions or que