Code covered by the BSD License  

Highlights from
Negative binomial series

Be the first to rate this file! 3 Downloads (last 30 days) File Size: 2.12 KB File ID: #22086

Negative binomial series

by Antonio Trujillo-Ortiz

 

13 Nov 2008 (Updated 17 Nov 2008)

binomial,negative binomal,Newton's binomial,binomial theorem

| Watch this File

File Information
Description

This m-file gives the expansion of powers of sums of any real or complex numbers x and y, and any negative integer n. In 1676 Newton showed that the binomial theorem also holds for negative integers n, which is the so-called negative binomial series and converges for |x| < y. From this emerges the negative binomial distribution, a discrete probability distribution.
    
Syntax: function negbins(x,y,n)
      
Input:
 x,y - pair of interested terms to expand
 n - coefficient/power to increase the binomial theorem (it is
            a negative integer that file automatically gives)

 Output:
 - result of the negative binomial series sum
 - vector of the negative binomial series (optional)

MATLAB release MATLAB 7 (R14)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Updates
13 Nov 2008

It was added an appropriate format to cite this file.

17 Nov 2008

Text was improved.

Tag Activity for this File
Tag Applied By Date/Time
mathematics Cristina McIntire 13 Nov 2008 16:26:35
negative binomial Cristina McIntire 13 Nov 2008 16:26:35
binomial Cristina McIntire 13 Nov 2008 16:26:35
binomial theorem Cristina McIntire 13 Nov 2008 16:26:35
newton Cristina McIntire 13 Nov 2008 16:26:35
mathematics Antonio Trujillo-Ortiz 13 Nov 2008 16:26:45

Contact us at files@mathworks.com