# 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.

## Functions

expand all

 `makedist` Create probability distribution object `fitdist` Fit probability distribution object to data `distributionFitter` Open Distribution Fitter app
 `cdf` Cumulative distribution function `gather` Gather properties of Statistics and Machine Learning Toolbox object from GPU (Since R2020b) `icdf` Inverse cumulative distribution function `iqr` Interquartile range of probability distribution `mean` Mean of probability distribution `median` Median of probability distribution `negloglik` Negative loglikelihood of probability distribution `paramci` Confidence intervals for probability distribution parameters `pdf` Probability density function `plot` Plot probability distribution object (Since R2022b) `proflik` Profile likelihood function for probability distribution `random` Random numbers `std` Standard deviation of probability distribution `truncate` Truncate probability distribution object `var` Variance of probability distribution
 `raylcdf` Rayleigh cumulative distribution function `raylpdf` Rayleigh probability density function `raylinv` Rayleigh inverse cumulative distribution function `raylstat` Rayleigh mean and variance `raylfit` Rayleigh parameter estimates `raylrnd` Rayleigh random numbers
 `cdf` Cumulative distribution function `icdf` Inverse cumulative distribution function `pdf` Probability density function `random` Random numbers `mle` Maximum likelihood estimates

## Objects

 `RayleighDistribution` Rayleigh probability distribution object

## Topics

• Rayleigh Distribution

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