Products & Services Solutions Academia Support User Community Company

Learn more about Statistics Toolbox   

wblpdf - Weibull probability density function

Syntax

Y = wblpdf(X,A,B)

Description

Y = wblpdf(X,A,B) computes the Weibull pdf at each of the values in X using the corresponding scale parameter, A and shape parameter, B. X, A, and B can be vectors, matrices, or multidimensional arrays that all have the same size. A scalar input is expanded to a constant array of the same size as the other inputs. The parameters in A and B must be positive.

The Weibull pdf is

Some references refer to the Weibull distribution with a single parameter. This corresponds to wblpdf with A = 1.

Examples

The exponential distribution is a special case of the Weibull distribution.

lambda = 1:6;
y = wblpdf(0.1:0.1:0.6,lambda,1)
y =
  0.9048  0.4524  0.3016  0.2262  0.1810  0.1508

y1 = exppdf(0.1:0.1:0.6,lambda)
y1 =
  0.9048  0.4524  0.3016  0.2262  0.1810  0.1508

References

[1] Devroye, L. Non-Uniform Random Variate Generation. New York: Springer-Verlag, 1986.

See Also

pdf, wblcdf, wblfit, wblinv, wbllike, wblplot, wblrnd, wblstat

Weibull 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