wblpdf
Compute Weibull distribution probability density function values.
Syntax
d=wblpdf(x,a,b)
Inputs
- x
- Values of the distribution random variable.
- a
- Scale parameter (default = 1).
- b
- Shape parameter (default = 1).
Outputs
- d
- Probability density values.
Examples
Single value wblpdf
example:
x = 2.0;
a = 2;
b = 5;
d = wblpdf(x,a,b)
d = 0.9197
Vector wblpdf
example:
x = [1:0.5:4];
a = 2;
b = 5;
d = wblpdf(x,a,b)
d = [Matrix] 1 x 7
0.15144 0.62391 0.9197 0.28855 0.0063735 1.7457e-06 5.0657e-13