Function Reference: raylrnd

statistics: r = raylrnd (sigma)
statistics: r = raylrnd (sigma, rows)
statistics: r = raylrnd (sigma, rows, cols, …)
statistics: r = raylrnd (sigma, [sz])

Random arrays from the Rayleigh distribution.

r = raylrnd (sigma) returns an array of random numbers chosen from the Rayleigh distribution with scale parameter sigma. The size of r is the size of sigma. sigma must be a finite real number greater than 0, otherwise NaN is returned.

When called with a single size argument, return a square matrix with the dimension specified. When called with more than one scalar argument the first two arguments are taken as the number of rows and columns and any further arguments specify additional matrix dimensions. The size may also be specified with a vector of dimensions sz.

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. pages 104 and 148, McGraw-Hill, New York, second edition, 1984.

See also: raylcdf, raylinv, raylrnd, raylstat

Source Code: raylrnd