Random combinatorics

Random sets of distinct permutations, combinations and subsets
68 Downloads
Aktualisiert 29 Jun 2016

Lizenz anzeigen

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.

Zitieren als

Marc Lalancette (2024). Random combinatorics (https://www.mathworks.com/matlabcentral/fileexchange/57932-random-combinatorics), MATLAB Central File Exchange. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R2013b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Elementary Math finden Sie in Help Center und MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.0.0