n permute k

バージョン 1.1.0.0 (2.36 KB) 作成者: Eydrian
Based on Matt Fig's npermutek this function returns all possible permutations of most matlab classes
ダウンロード: 943
更新 2013/2/28

ライセンスの表示

Permutation of elements with replacement/repetition. MAT = npermutek(N,K) returns all possible samplings of length K from vector N of type: ordered sample with replacement. MAT has size (numel(N)^K)-by-K, where K must be a scalar. [MAT, IDX] = npermutek(N,K) also returns IDX such that MAT = N(IDX).
N may be of any numeric class, char, cell, struct, or even obj.

引用

Eydrian (2026). n permute k (https://jp.mathworks.com/matlabcentral/fileexchange/40546-n-permute-k), MATLAB Central File Exchange. 取得日: .

MATLAB リリースの互換性
作成: R2012b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersElementary Math についてさらに検索
謝辞

ヒントを得たファイル: N_PERMUTE_K

バージョン 公開済み リリース ノート
1.1.0.0

Changed description
Cell example was wrong

1.0.0.0