Combinations, n choose k

This function finds the combinations of n choose k.
635 téléchargements
Mise à jour 21 août 2011

Afficher la licence

The combination function seems to be missing from MATLAB so this rendition fills the gap.

MYCOMBNK returns combinatorial of n choose k i.e all unique combinations of n elements taken k at a time.

EX: >> mycombnk(6,2)
ans = 15

Citation pour cette source

Bruce Raine (2024). Combinations, n choose k (https://www.mathworks.com/matlabcentral/fileexchange/32626-combinations-n-choose-k), MATLAB Central File Exchange. Récupéré le .

Compatibilité avec les versions de MATLAB
Créé avec R2011a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Elementary Math dans Help Center et MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Publié le Notes de version
1.0.0.0