binomial_rnd

Syntax: binomial_rnd(n,p,x, y)

Description: The binomial distribution with n (the number of trials).If x,y are given , create a matrix with binomial values with the dimension x (rows) and y (columns).If only x is given, create a vector with binomial values of size "x"

Group: normal

Note:

Example:

binomial_rnd(10,0.2, 100) % creates a vector with size 100.binomial_rnd(20,0.2, 50,60) % filled  50x60 matrix.

Also see: poisson

Implemented in: LambdaBINOMIAL_RND.java