Binomal theorem

Binomial theorem,Newton's binomal,positive binomial

You are now following this Submission

This m-file gives the expansion of powers of sums of any real or complex numbers x and y, and any nonnegative integer n. It is also known as the Newton's binomial. From it emerges the discrete binomial (positive) distribution.

Syntax: function bintheor(x,y,n)

Input:
x,y - pair of interested terms to expand
n - coefficient/power to increase the binomial theorem

Output:
- result of the Binomial theorem sum (default)
- vector of the binomial theorem values (optional)

Cite As

Antonio Trujillo-Ortiz (2026). Binomal theorem (https://se.mathworks.com/matlabcentral/fileexchange/22085-binomal-theorem), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.1.0.0

It was added an appropriate format to cite this file.

1.0.0.0