|
|
| File Information |
| Description |
BINOMIAL Binomial coefficient.
If the arguments are both non-negative integers with 0 <= K <= N, then
BINOMIAL(N, K) = N!/K!/(N-K)!, which is the number of distinct sets of
K objects that can be chosen from N distinct objects.
When N or K(or both) are N-D matrices, BINOMIAL(N, K) is the coefficient
for each pair of elements.
If N and K are integers that do not satisfy 0 <= K <= N, or N and K are
non-integers , then the general definition is used, that is
BINOMIAL(N, K) = GAMMA(N+1) / (GAMMA(K+1) / GAMMA(N-K+1))
If N is a non-negative integer, BINOMIAL(N) = BINOMIAL(N, 0:N)
BINOMIAL only supports floating point input arguments. |
| MATLAB release |
MATLAB 7 (R14)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (8) |
| 06 Oct 2004 |
Pink Panzer
|
|
|
| 07 Oct 2004 |
Mukhtar Ullah
|
|
|
| 28 Oct 2005 |
Terry Iverson
|
|
|
| 20 Nov 2005 |
James Brown
|
|
|
| 22 Aug 2006 |
luc mercier
|
|
|
| 28 Aug 2006 |
O Demands
|
|
|
| 12 Apr 2007 |
Memming Park
|
|
|
| 10 May 2007 |
Mukhtar Ullah
|
|
|
| Updates |
| 05 Oct 2004 |
removed a warning that was not needed |
| 05 Oct 2004 |
generalised to allow arguments not satisfying 0<=k<=n |
| 05 Oct 2004 |
now supports both single and double data types. |
| 05 Oct 2004 |
A logical test removed that was no needed |
| 06 Oct 2004 |
Help documentation improved |
| 07 Oct 2004 |
Description updated |
| 29 Oct 2004 |
made flexible for single argument |
| 01 Nov 2004 |
renamed to binomial |
| 17 Jan 2005 |
a minor improvement |
|
MATLAB Central Terms of Use
NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for
all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content.
Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available
via MATLAB Central.
Read the complete Terms prior to use.
Contact us at files@mathworks.com