ONEPERM

版本 1.0.0.0 (1.9 KB) 作者: Darren Rowland
Obtain a single permutation of the numbers 1:N
966.0 次下载
更新时间 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 CenterMATLAB Answers 中查找有关 RF 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