Binomal theorem
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)
Citation pour cette source
Antonio Trujillo-Ortiz (2026). Binomal theorem (https://fr.mathworks.com/matlabcentral/fileexchange/22085-binomal-theorem), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
Tags
Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
| Version | Publié le | Notes de version | |
|---|---|---|---|
| 1.1.0.0 | It was added an appropriate format to cite this file. |
||
| 1.0.0.0 |
