FUNCTION REFERENCE

betacdf

Beta cumulative distribution function.

Beta cumulative distribution function.

Syntax

Y = betacdf(X, A, B)

Syntax

Y = betacdf(X, A, B, 'upper')

P(X' <= X) for the beta distribution with shapes A > 0 and B > 0. With 'upper' it returns P(X' > X), computed directly in that tail so small upper probabilities keep their digits. Parameters without a default are required. Every argument may be a scalar or an array; scalars expand to the size of the others, and arrays must have the same size. Parameters outside their domain give NaN; NaN inputs give NaN.

Example

betacdf(0.4, 2, 3)

Example

betacdf(0.4, 2, 3, 'upper')

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.