You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Purpose
This code is a simple utility that computes binomial coefficients using vectorization.
Use Case
Its use case is to replace looping through individual calls to Matlab's 'nchoosek'.
Notes
- The file binoms.m is the main function, while the file binoms__demo.mlx demonstrates an example of using the function.
Cite As
Nick Lorenzo (2026). Binomial Coefficients (Vectorized) (https://www.mathworks.com/matlabcentral/fileexchange/184038-binomial-coefficients-vectorized), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired: Incomplete (Partial) Bell Polynomials
General Information
- Version 1.0.1 (5.61 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
