Next Combination/Permuta​tion

Versión 1.0.0.0 (7,53 KB) por Matt Fig
Produces one comb/perm at a time. Both with/without repetition.
4,3K Descargas
Actualizado 17 jun 2009

Ver licencia

The folder contains 4 files:

NEXTCHOOSE
NEXTMULTICHOOSE
NEXTPERM
NEXTSTRING

which correspond to the combinatorical problems:

Combinations without repetition.
Combinations with repetition.
Permutations without repetition.
Permutations with repetition.

Each of these will produce successive outputs of the combs/perms of K elements taken from the set 1:N.
See the screenshot for an example.

Please read the help before using.
Please email me if bugs are found, or improvements are found.

See also: COMBINATOR (file 24325)
Thanks.

Citar como

Matt Fig (2024). Next Combination/Permutation (https://www.mathworks.com/matlabcentral/fileexchange/24459-next-combination-permutation), MATLAB Central File Exchange. Recuperado .

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

Inspiración para: Fast batch generation of permutations

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