Statistics Toolbox | ![]() ![]() |
Rayleigh probability density function.
Syntax
Y = raylpdf(X,B)
Description
Y = raylpdf(X,B)
computes the Rayleigh pdf at each of the values in X
using the corresponding parameters in B. Vector or matrix inputs for X and B must have the same size, which is also the size of Y
. A scalar input for X or B is expanded to a constant matrix with the same dimensions as the other input.
Example
x = 0:0.1:3; p = raylpdf(x,1); plot(x,p)
See Also
pdf
, raylcdf
, raylinv
, raylrnd
, raylstat
![]() | raylinv | raylrnd | ![]() |