ONECOMB

Obtain a single combination of N numbers taken K at a time.
982 descargas
Actualizado 22 feb 2009

Ver licencia

comb = ONECOMB(N,K,M) returns the M-th combination of the sorted list of all combinations from NCHOOSEK.
Makes use of a fast algorithm for the generation of a single combination.

NCHOOSEK(1:4,3) =
[ 1 2 3
1 2 4
1 3 4
2 3 4 ]

onecomb(4,3,3) =
[ 1 3 4 ]

Citar como

Darren Rowland (2024). ONECOMB (https://www.mathworks.com/matlabcentral/fileexchange/23064-onecomb), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R14
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Passivity and Sector Bounds en Help Center y MATLAB Answers.
Agradecimientos

Inspiración para: MATLAB PPT

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versión Publicado Notas de la versión
1.0.0.0