| Statistics Toolbox | Search  Help Desk |
| raylpdf | Examples See Also |
Rayleigh probability density function.
Syntax
Y = raylpdf(X,B)
Description
Y = raylpdf(X,B) returns the Rayleigh probability density function with parameter B at the values in X. The size of Y is the common size of X and B. A scalar input functions as a constant matrix of the same size as the other input. The Rayleigh pdf is:
Example
x = 0:0.1:3; p = raylpdf(x,1); plot(x,p)
![]()
See Also
raylcdf, raylinv, raylrnd, raylstat