Function Reference: binocdf

statistics: p = binocdf (x, n, ps)
statistics: p = binocdf (x, n, ps, "upper")

Binomial cumulative distribution function (CDF).

For each element of x, compute the cumulative distribution function (CDF) at x of the binomial distribution with parameters n and ps, where n is the number of trials and ps is the probability of success. The size of p is the common size of x, n, and ps. A scalar input functions as a constant matrix of the same size as the other inputs.

binocdf (x, n, ps, "upper") computes the complement of the cumulative distribution function.

See also: binoinv, binopdf, binornd, binostat, binotest

Source Code: binocdf