Function Reference: betacdf

statistics: p = betacdf (x, a, b)
statistics: p = betacdf (x, a, b, "upper")

Beta cumulative distribution function (CDF).

For each element of x, compute the cumulative distribution function at x of the Beta distribution with parameters a and b. The size of p is the common size of x, a and b. A scalar input functions as a constant matrix of the same size as the other inputs.

p = betacdf (x, a, b, "upper") computes the upper tail probability of the Beta distribution with parameters a and b at the values in x.

See also: betainv, betapdf, betarnd, betastat

Source Code: betacdf