| Statistics Toolbox | ![]() |
Random matrices from the Rayleigh distribution.
Syntax
R = raylrnd(B) R = raylrnd(B,m) R = raylrnd(B,m,n)
Description
returns a matrix of random numbers chosen from the Rayleigh distribution with parameter R = raylrnd(B)
B. The size of R is the size of B.
returns a matrix of random numbers chosen from the Rayleigh distribution with parameter R = raylrnd(B,m)
B, where m is a 1-by-2 vector that contains the row and column dimensions of R.
returns a matrix of random numbers chosen from the Rayleigh distribution with parameter R = raylrnd(B,m,n)
B, where 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
| raylpdf | raylstat | ![]() |