Stixbox Function
Last update : 21/4/2006

bincoef - Binomial coefficients

Calling Sequence

k = bincoef(n,N)

Parameters

Description

computes a matrix of binomial coefficients

    Gamma(N+1)./(Gamma(n+1).*Gamma(N-n+1))
   

Examples


co=bincoef(0:4,4)     
P=poly(co,'x','coef')
norm(roots(P) + ones(4,1))