Multinomial Expansion
Versión 1.0.0.0 (1,52 KB) por
Alabi Bojesomo
This code implement the expansion of multinomial equation i.e (x1 + x2 + ... + xl)^n where l>=1
when we want to find the expansion powers of the multinomial (x1 + x2 + ... + xl)^n where l>=1, as well as the coefficients.
the function gives the powers in order for possible outcomes.
e.g
(a+b+c)^3=a^3+b^3+c^3+3*a^2*b+3*a^2*c+3*b^2*a+3*b^2*c+3*c^2*a+3*c^2*b+6*a*b*c
using the function, we type
normSize=3;
normPower=3;
[powI coefI]=multiNomial(normPower,normSize);
Citar como
Alabi Bojesomo (2026). Multinomial Expansion (https://es.mathworks.com/matlabcentral/fileexchange/39842-multinomial-expansion), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2011a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
- AI and Statistics > Statistics and Machine Learning Toolbox > Probability Distributions and Hypothesis Tests > Discrete Distributions > Multinomial Distribution >
Más información sobre Multinomial Distribution en Help Center y MATLAB Answers.
Etiquetas
Agradecimientos
Inspiración para: Multinomial Expansion
Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
| Versión | Publicado | Notas de la versión | |
|---|---|---|---|
| 1.0.0.0 |
