Random combinatorics

版本 1.0.0.0 (6.3 KB) 作者: Marc Lalancette
Random sets of distinct permutations, combinations and subsets
70.0 次下载
更新时间 2016/6/29

查看许可证

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 版本兼容性
创建方式 R2013b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Elementary Math 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0