raylrnd
Rayleigh random numbers
Description
generates an array of Rayleigh random numbers, where r
= raylrnd(b
,sz1,...,szN
)sz1,...,szN
indicates the size of each dimension.
Examples
Input Arguments
Output Arguments
Alternative Functionality
raylrnd
is a function specific to the Rayleigh distribution. Statistics and Machine Learning Toolbox™ also offers the generic functionrandom
, which supports various probability distributions. To userandom
, create aRayleighDistribution
probability distribution object and pass the object as an input argument or specify the probability distribution name and its parameter. Note that the distribution-specific functionraylrnd
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