Statistics Toolbox    
betacdf

Beta cumulative distribution function (cdf)

Syntax

Description

p = betacdf(X,A,B) computes the beta cdf at each of the values in X using the corresponding parameters in A and B. Vector or matrix inputs for X, A, and B must all have the same size. A scalar input is expanded to a constant matrix with the same dimensions as the other inputs. The parameters in A and B must all be positive, and the values in X must lie on the interval [0,1].

The beta cdf for a given value x and given pair of parameters a and b is

where B( · ) is the Beta function. The result, p, is the probability that a single observation from a beta distribution with parameters a and b will fall in the interval [0,x].

Examples

See Also
betafit, betainv, betalike, betapdf, betarnd, betastat, cdf


  bbdesign betafit