MATLAB: Is there a function for random number generation using the Rayleigh distribution in MATLAB 6.5 (R13)

distributionrandomrayleighStatistics and Machine Learning Toolbox

I would like to generate random numbers according to the Rayleigh distribution.

Best Answer

The RAYLRND function within the Statistics Toolbox 4.0 (R13) performs this generation.
For more information on this function, type 'help RAYLRND' at the MATLAB Command Prompt. If you have installed the documentation, type 'doc RAYLRND' to see the documentation for this function. If you do not have the documentation installed, you can find it here: