Function File: [m, v] = raylstat (sigma)

Compute mean and variance of the Rayleigh distribution.

Arguments

  • sigma is the parameter of the Rayleigh distribution. The elements of sigma must be positive.

Return values

  • m is the mean of the Rayleigh distribution.
  • v is the variance of the Rayleigh distribution.

Example

sigma = 1:6;
[m, v] = raylstat (sigma)

References

  1. Wendy L. Martinez and Angel R. Martinez. Computational Statistics Handbook with MATLAB. Appendix E, pages 547-557, Chapman & Hall/CRC, 2001.
  2. Athanasios Papoulis. Probability, Random Variables, and Stochastic Processes. McGraw-Hill, New York, second edition, 1984.

Package: statistics