You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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.
Cite As
Matt Fig (2026). Next Combination/Permutation (https://uk.mathworks.com/matlabcentral/fileexchange/24459-next-combination-permutation), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired: Fast batch generation of permutations
General Information
- Version 1.0.0.0 (7.53 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
