Find and return Binomial Coefficients (BCs) in a matrix up to N (Scripts) Publisher's description
The function BINOMIND does not use loops (apart from a redundant check)
The function BINOMIND does not use loops (apart from a redundant check) or division nor indeed factorials to generate the Binomial Coefficients (BCs). It simply constructs the lower-triangular Pascal matrix and does a simply lookup to get the desired BC.
BINOMIND is much faster than NCHOOSEK at creating matrices of BCs and also has a basic integrity check to compare it with nchoosek. It can return 3 lots of data: comb,binTable, errorRate but you can just use it to find combinations by default.
System Requirements:MATLAB 7.12 (2011a)
Program Release Status: New Release
Program Install Support: Install and Uninstall