2.1.24.8 Random Number Generators


Functions

Name Brief Example
betarnd Generates an array of pseudo-random real numbers from the beta distribution Examples
binornd Generates an array of random integers from a binomial distribution Examples
caurnd Generates an array of random numbers from a Cauchy distribution Examples
chi2rnd Generates an array of random integers from a Command returned with error code 1

2 distribution

Examples
disrnd Generates an array of random integers from a general discrete distribution Examples
exprnd Generates an array of random numbers from an exponential distribution Examples
frnd Generates an array of random numbers from an F-distribution Examples
gamrnd Generates an array of random numbers from a \Gamma distribution Examples
geornd Generates an array of random integers from a geometric distribution Examples
hygernd Generates an array of random integers from a hypergeometric distribution Examples
lgsrnd Generates an array of random numbers from a logistic distribution Examples
lognrnd Generates an array of random numbers from a lognormal distribution Examples
mvnrnd Generates an array of random numbers from a multivariate Normal distribution Examples
nbinrnd Generates an array of random integers from a negative binomial distribution Examples
normrnd Generates an array of random numbers from a Normal distribution Examples
permrnd Pseudo-random permutation of an integer vector Examples
poissrnd Generates an array of random integers from a Poisson distribution Examples
trirnd Generates an array of random numbers from a triangular distribution Examples
trnd Generates an array of random numbers from a Student's t-distribution Examples
unidrnd Generates an array of random integers from a uniform distribution Examples
unifrnd Generates an array of random numbers from a uniform distribution Examples
wblrnd Generates an array of random numbers from a Weibull distribution Examples