permn
Permutations with repetition, all or a subset
You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Cite As
Jos (10584) (2026). permn (https://se.mathworks.com/matlabcentral/fileexchange/7147-permn), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired: N_PERMUTE_K, VChooseKRO, de Bruijn sequence generator, Kautz sequence generator, permnsub(V,N, IX)
General Information
- Version 6.2.0 (3.42 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 6.2.0 | fixed coding style warnings |
||
| 6.1.0 | spelling corrections |
||
| 5.1.0 | Renamed file into PERMN, fixed small bug, extended help section |
||
| 1.3.0 | Reference to COMBNSUB for large combinatorial problems. |
||
| 1.2.0 | corrected to give column vector output for N=1. (error pointed out by Wilson via email). |
||
| 1.1.0 | modified slightly based on suggestions by Jan Simon (thanks!) |
||
| 1.0.0 | fast algorithm |