kth permutation in lexicographical order
Version 1.0.0 (1,42 ko) par
Alexander H
This function return the kth permutation in lexicographical order.
There are a number of factorial(n) permutations for n elements. This function return the kth permutation in lexicographical order.
Should work on all Matlab versions.
Citation pour cette source
W He (2019). kth permutation in lexicographical order (https://www.mathworks.com/matlabcentral/fileexchange/<...>), MATLAB Central File Exchange. Retrieved March 13, 2019.
Compatibilité avec les versions de MATLAB
Créé avec
R2018b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS LinuxCatégories
En savoir plus sur Construction dans Help Center et MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!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 |