Next Combination/Permuta​tion

版本 1.0.0.0 (7.5 KB) 作者: Matt Fig
Produces one comb/perm at a time. Both with/without repetition.
4.3K 次下载
更新时间 2009/6/17

查看许可证

The folder contains 4 files:

NEXTCHOOSE
NEXTMULTICHOOSE
NEXTPERM
NEXTSTRING

which correspond to the combinatorical problems:

Combinations without repetition.
Combinations with repetition.
Permutations without repetition.
Permutations with repetition.

Each of these will produce successive outputs of the combs/perms of K elements taken from the set 1:N.
See the screenshot for an example.

Please read the help before using.
Please email me if bugs are found, or improvements are found.

See also: COMBINATOR (file 24325)
Thanks.

引用格式

Matt Fig (2024). Next Combination/Permutation (https://www.mathworks.com/matlabcentral/fileexchange/24459-next-combination-permutation), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2007a
兼容任何版本
平台兼容性
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