binomial.m
by David Terr
11 May 2004
(Updated 04 Jun 2004)
This program computes the binomial coefficient C(n,m).
|
Watch this File
|
| File Information |
| Description |
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. |
| MATLAB release |
MATLAB 6.0 (R12)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (3) |
| 24 May 2004 |
Jos vdG
|
|
|
| 17 Sep 2005 |
B Hill
|
|
|
| 24 May 2006 |
Mark Pijnenburg
|
|
|
| Updates |
| 04 Jun 2004 |
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. |
|
Contact us at files@mathworks.com