varargout = AltSize(in,arg)
extends size()’s functionality to support querying the size of multiple
dimensions of a variable in one call.
requested dimensions can be repeated and may (of course) be singleton
number of output arguments must match number of requested dimension sizes
or be one, in which case a vector is returned
in = ones(1,2,3,4,5);
[d e f g h i] = AltSize(in,[1 3 2 8 4 2])