Stirling numbers of the first kind
Sin licencia
The Stirling numbers of the first kind are defined as the coefficients of powers of x in the polynomials:
Q(x)=(x-1)(x-2)...(x-n). For example,
Q0(x)=1;
Q1(x)=x-1; %
Q2(x)=(x-1)(x-2)=x^2-3x+2;
Q3(x)=(x-1)(x-2)(x-3)=x^3-6x^2+11x-6;
...
This function calculate n>=2 case(n=0 and 1 are trivial case).
To use:
a = mStirling(4)
returns
a = 1 -10 35 -50 24
the coefficients are listed in ascending order of x.
Citar como
Steven Huang (2024). Stirling numbers of the first kind (https://www.mathworks.com/matlabcentral/fileexchange/8030-stirling-numbers-of-the-first-kind), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
- FPGA, ASIC, and SoC Development > Vision HDL Toolbox > Video Formats and Interfaces >
- Image Processing and Computer Vision > Vision HDL Toolbox > Video Formats and Interfaces >
Etiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!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 |