Home > freetb4matlab > statistics > distributions > unidrnd.m

unidrnd

PURPOSE ^

% Return random values from discrete uniform distribution, with maximum

SYNOPSIS ^

function retval = unidrnd (n, varargin)

DESCRIPTION ^

% -*- texinfo -*-
% @deftypefn {Function File} {} unidrnd (@var{mx});
% @deftypefnx {Function File} {} unidrnd (@var{mx}, @var{v});
% @deftypefnx {Function File} {} unidrnd (@var{mx}, @var{m}, @var{n}, @dots{});
% Return random values from discrete uniform distribution, with maximum
% value(s) given by the integer @var{mx}, which may be a scalar or
% multidimensional array.
%
% If @var{mx} is a scalar, the size of the result is specified by
% the vector @var{v}, or by the optional arguments @var{m}, @var{n},
% @dots{}.  Otherwise, the size of the result is the same as the size
% of @var{mx}.
% @end deftypefn

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 22-May-2009 15:13:00 by m2html © 2003