The binomial probability function
P = dbinom(k,n,p)
nonnegative integer
nonnegative integer such that k<=n
probability number (k,n,p can be real or matrix, the size of matrix must be the same)
prob(X=k) where X is a binomial variable B(n,p)
The binomial probability function.
n=60;plot2d2(0:n,dbinom(0:n,n,0.5)) | ![]() | ![]() |