Stixbox Function bincoef - Binomial coefficients
Calling Sequence
- k = bincoef(n,N)
Parameters
- n,N
: scalar or matrix with common size, such that 0<=n<=N.
- k
: matrix of binomial coefficients
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))