You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Generation of random sets of distinct combinatorial objects:
Distinct random permutations (orders, rankings) of n elements (out of n! possible).
Distinct random combinations of k out of n elements without repetition (out of nchoosek(n, k) possible).
Distinct random subsets (combinations without repetition) out of n elements (out of 2^n possible).
Can force to include the "identity" or "null" element. Resulting set is sorted.
Cite As
Marc Lalancette (2026). Random combinatorics (https://ch.mathworks.com/matlabcentral/fileexchange/57932-random-combinatorics), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired by: Efficient convertors between binary and decimal numbers
General Information
- Version 1.0.0.0 (6.3 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
