Betapdf
Definition:
bp = betapdf( x, a, b) returns the probability density function of the beta distribution with parameters \(a\) and \(b\).
- \(f(B:a,b)=\frac{\Gamma (a+b)}{\Gamma (a)\Gamma (b)}B^{a-1}(1-B)^{b-1}\) \(0\leq B\leq 1;a,b>0\)
Parameters:
- x (input, double)
- The value of the beta variate. \(0.0 \le x \le 1.0\)
- a (input, double)
- The first shape parameter, \(a\), of the required beta distribution, . \(0.0<a \le 10^6\)
- b(input, double)
- The second shape parameter, \(b\), of the required beta distribution, . \(0.0<b \le 10^6\)
- bp (output, double)
- The probability.