4 if ~isnumeric(nDims)||numel(nDims)~=1||fix(nDims)~=nDims||nDims<=0
6 'nDims is expected to be a scalar positive integer value');
function throwerror(in msgTag, in varargin)
THROWERROR works similarly to built-in ERROR function in case when there is no output arguments but s...
function getfirstdimsize(in value, in nDims)
GETFIRSTDIMSIZE returns a size vector for the first N dimensions where N is specified.
function isequalfirstdimsize(in firstArr, in secArr, in nDims)
ISEQUALFIRSTDIMSIZE checks if the specified arrays have the same size along the first N dimensions wh...