| Statistics Toolbox | Search  Help Desk |
| raylrnd | Examples See Also |
Random matrices from the Rayleigh distribution.
Syntax
R = raylrnd(B) R = raylrnd(B,m) R = raylrnd(B,m,n)
Description
R = raylrnd(B) returns a matrix of random numbers chosen from the Rayleigh distribution with parameter B. The size of R is the size of B.
R = raylrnd(B,m) returns a matrix of random numbers chosen from the Rayleigh distribution with parameter B. m is a 1-by-2 vector that contains the row and column dimensions of R.
R = raylrnd(B,m,n) returns a matrix of random numbers chosen from the Rayleigh distribution with parameter B. The scalars m and n are the row and column dimensions of R.
Example
r = raylrnd(1:5)
r =
1.7986 0.8795 3.3473 8.9159 3.5182
See Also
random, raylcdf, raylinv, raylpdf, raylstat