ONECOMB
Version 1.0.0.0 (2,1 ko) par
Darren Rowland
Obtain a single combination of N numbers taken K at a time.
comb = ONECOMB(N,K,M) returns the M-th combination of the sorted list of all combinations from NCHOOSEK.
Makes use of a fast algorithm for the generation of a single combination.
NCHOOSEK(1:4,3) =
[ 1 2 3
1 2 4
1 3 4
2 3 4 ]
onecomb(4,3,3) =
[ 1 3 4 ]
Citation pour cette source
Darren Rowland (2026). ONECOMB (https://fr.mathworks.com/matlabcentral/fileexchange/23064-onecomb), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Créé avec
R14
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS LinuxCatégories
En savoir plus sur Passivity and Sector Bounds dans Help Center et MATLAB Answers
Tags
Remerciements
A inspiré : MATLAB PPT
Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
| Version | Publié le | Notes de version | |
|---|---|---|---|
| 1.0.0.0 |
