Main Content
betarnd
Beta random numbers
Description
Examples
Input Arguments
Output Arguments
Alternative Functionality
betarnd
is a function specific to beta distribution. Statistics and Machine Learning Toolbox™ also offers the generic functionrandom
, which supports various probability distributions. To userandom
, specify the probability distribution name and its parameters. Alternatively, create aBetaDistribution
probability distribution object and pass the object as an input argument. Note that the distribution-specific functionbetarnd
is faster than the generic functionrandom
.To generate random numbers interactively, use
randtool
, a user interface for random number generation.
Extended Capabilities
Version History
Introduced before R2006a