betapdf
Compute beta distribution probability density function values.
Syntax
d=betapdf(x,a,b)
Inputs
- x
- Values of the distribution random variable.
- a,b
- Shape parameters.
Outputs
- d
- Probability density values.
Examples
x = 0.5;
a = 5;
b = 3;
d = betapdf(x,a,b)
d = 1.6406
x = [0.1:0.1:0.9];
a = 5;
b = 3;
d = betapdf(x,a,b)
d = [Matrix] 1 x 9
0.008505 0.10752 0.41675 0.96768 1.6406 2.1773 2.2689 1.7203 0.6889