Al momento, stai seguendo questo contributo
- Vedrai gli aggiornamenti nel tuo feed del contenuto seguito
- Potresti ricevere delle email a seconda delle tue preferenze per le comunicazioni
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.
Cita come
Eydrian (2026). n permute k (https://it.mathworks.com/matlabcentral/fileexchange/40546-n-permute-k), MATLAB Central File Exchange. Recuperato .
Riconoscimenti
Ispirato da: N_PERMUTE_K
Informazioni generali
- Versione 1.1.0.0 (2,36 KB)
Compatibilità della release di MATLAB
- Compatibile con qualsiasi release
Compatibilità della piattaforma
- Windows
- macOS
- Linux