ONEPERM

Obtain a single permutation of the numbers 1:N
ダウンロード: 966
更新 2009/2/22

ライセンスの表示

perm = ONEPERM(N,M) returns the M-th permutation of the sorted list of all permutations from PERMS, where M=1 corresponds to identity permutation. N, M are non-negative scalar, perm has size 1-by-N.
Makes use of a fast algorithm to generate a single permutation.

See also PERMS
and NPERMUTEK, RECPERMS, NEXTPERM, PERMS1 on the File Exchange

引用

Darren Rowland (2024). ONEPERM (https://www.mathworks.com/matlabcentral/fileexchange/23067-oneperm), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R14
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersRF Component Modeling についてさらに検索
タグ タグを追加
謝辞

ヒントを与えたファイル: nthperm

Community Treasure Hunt

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

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