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 (2024). binomial.m (https://www.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
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!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. |