Main Content

Rayleigh Distribution

Fit, evaluate, and generate random samples from Rayleigh distribution

Statistics and Machine Learning Toolbox™ offers multiple ways to work with the Rayleigh distribution.

  • Create a RayleighDistribution object and use RayleighDistribution object functions.

  • Use distribution-specific functions with specified distribution parameters. The functions can accept parameters of multiple Rayleigh distributions.

  • Use the generic distribution functions with the specified distribution name "Rayleigh" and corresponding parameters.

To learn about the Rayleigh distribution, see Rayleigh Distribution.


expand all

makedistCreate probability distribution object
fitdistFit probability distribution object to data
distributionFitterOpen Distribution Fitter app
cdfCumulative distribution function
gatherGather properties of Statistics and Machine Learning Toolbox object from GPU (Since R2020b)
icdfInverse cumulative distribution function
iqrInterquartile range of probability distribution
meanMean of probability distribution
medianMedian of probability distribution
negloglikNegative loglikelihood of probability distribution
paramciConfidence intervals for probability distribution parameters
pdfProbability density function
plotPlot probability distribution object (Since R2022b)
proflikProfile likelihood function for probability distribution
randomRandom numbers
stdStandard deviation of probability distribution
truncateTruncate probability distribution object
varVariance of probability distribution
raylcdfRayleigh cumulative distribution function
raylpdfRayleigh probability density function
raylinvRayleigh inverse cumulative distribution function
raylstatRayleigh mean and variance
raylfitRayleigh parameter estimates
raylrndRayleigh random numbers
cdfCumulative distribution function
icdfInverse cumulative distribution function
pdfProbability density function
randomRandom numbers
mleMaximum likelihood estimates


RayleighDistributionRayleigh probability distribution object


  • Rayleigh Distribution

    The Rayleigh distribution is a special case of the Weibull distribution with applications in communications theory.