binomial.m
Version 1.0.0.0 (394 Bytes) by
David Terr
This program computes the binomial coefficient C(n,m).
6.7K Downloads
Updated
4 Jun 2004
No License
Given nonnegative integers m and n with m <= n, this program computes the binomial coefficient C(n,m). It's about time someone wrote code to do this! I couldn't find it anywhere.
Cite As
David Terr (2026). binomial.m (https://uk.mathworks.com/matlabcentral/fileexchange/4901-binomial-m), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R12
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Assembly in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 | Greg von Winckel sent me another version, which although not as accurate is much faster for large input, so I use his version when n>100. |
