FUNCTION REFERENCE
binopdf
Binomial probability mass function.
Binomial probability mass function.
Syntax
Y = binopdf(X, N, P)Evaluates the probability mass of the binomial distribution with N trials (a nonnegative integer) and success probability P in [0, 1] at X. Non-integer X gives 0. 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
binopdf(3, 10, 0.4)These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.