Next Combination/Permuta​tion

バージョン 1.0.0.0 (7.53 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 Center および MATLAB AnswersElementary Math についてさらに検索
謝辞

ヒントを与えたファイル: Fast batch generation of permutations

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0.0