Random combinatorics
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.
引用
Marc Lalancette (2024). Random combinatorics (https://www.mathworks.com/matlabcentral/fileexchange/57932-random-combinatorics), MATLAB Central File Exchange. に取得済み.
MATLAB リリースの互換性
プラットフォームの互換性
Windows macOS Linuxカテゴリ
- MATLAB > Mathematics > Elementary Math >
- MATLAB > Mathematics > Elementary Math > Discrete Math >
タグ
謝辞
ヒントを得たファイル: Efficient convertors between binary and decimal numbers
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!バージョン | 公開済み | リリース ノート | |
---|---|---|---|
1.0.0.0 |