Products & Services Solutions Academia Support User Community Company

Learn more about Statistics Toolbox   

raylpdf - 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 scale parameter, B. X and B can be vectors, matrices, or multidimensional arrays that all have the same size, which is also the size of Y. A scalar input for X or B is expanded to a constant array with the same dimensions as the other input.

The Rayleigh pdf is

Examples

x = 0:0.1:3;
p = raylpdf(x,1);
plot(x,p)

See Also

pdf, raylcdf, raylinv, raylstat, raylfit, raylrnd

Rayleigh Distribution

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS