<< beta_rnd Supplementary distibution functions bino_rnd >>

Grocer >> Supplementary distibution functions > bincoef

bincoef

binomial coefficients

CALLING SEQUENCE

[k]=bincoef(n,N)

PARAMETERS

Input

* n = (mxp) matrix

* N = (nxp) matrix (same size than n) or scalar

 

Output

* k = (mxp) matrix of binomial coefficents with

  - k(i,j)=binomial(n(i,j),N(i,j)) or

  - k(i,j)=binomial(n(i,j),N) if N is a scalar

DESCRIPTION

Generates binomial coefficients.

EXAMPLE

k=bincoef(5,15)

AUTHOR

Eric Dubois 2002

Report an issue
<< beta_rnd Supplementary distibution functions bino_rnd >>