Functions | |
elseif (nargin==2) if(rows(varargin | |
else | error ("unidrnd: invalid dimension vector") |
endif | elseif (nargin > 2) for i |
else | error ("unidrnd (n, ...)") |
endif | if (isscalar(n)||(length(size(n))==length(dims)&&all(size(n)==dims))) retval |
else | error ("unidrnd: dimension mismatch") |
Variables | |
function | retval |
endif endfor | dims = [varargin{:}] |
elseif | ( | nargin | = = 2 |
) |
else error | ( | "unidrnd: dimension mismatch" | ) |
else error | ( | "unidrnd (n, ...)" | ) |
else error | ( | "unidrnd: invalid dimension vector" | ) |