Generates Weibull distribution probability density function values at specified locations. |
||
Syntax |
PDF = WeibullPDF(Points, a, b) |
|
Arguments |
Name |
Description |
Points |
A scalar, vector, or matrix of points where the density function is to be evaluated. The output is 0 for negative values. |
|
a |
The scale parameter. A positive scalar. |
|
b |
The shape parameter. A positive scalar. |
|
Outputs |
Name |
Description |
A scalar or vector of the density function values at the given points. The same size as Points. |
||
Example 1 |
Find the Weibull probability density function at points 0.1, 0.3, and 0.8 with parameters |
|
Syntax |
||
pdf = WeibullPDF([0.1,0.3,0.8],2,5) |
||
Results |
||
pdf = 1.5625e-005 0.0012655 0.063348 |
||
Comments |
The Weibull distribution does not have a standard parameterization. The form used here has the following PDF: f(x) = (b/a) * (x/a)^(b-1) * e^[-(x/a)^b] |
|
See Also: |