rand
Draw random samples from the distribution.
Declaration
y = rand(self,varargin)
Parameters
vararginsize vector or one nonnegative integer per output dimension
Returns
yrandom samples with the requested output shape
Discussion
rand draws samples by mapping uniform random numbers
through a discretized approximation to the inverse CDF. Pass
either one size vector or one nonnegative integer per output
dimension.