Calculates the number of permutations of N objects taken R at a time. This type of sampling is an ordered sample without replacement.
Syntax: function p = npermr(n,r)
Inputs:
n - number of objects
r - number of objects taken at a time
Output:
p - number of permutations
Citation pour cette source
Antonio Trujillo-Ortiz (2024). npermr (https://www.mathworks.com/matlabcentral/fileexchange/29877-npermr), MATLAB Central File Exchange. Récupéré le .
Compatibilité avec les versions de MATLAB
Créé avec
R14
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS LinuxCatégories
- MATLAB > Mathematics > Linear Algebra >
En savoir plus sur Linear Algebra 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.1.0.0 | It was added an appropriate format to cite this file. |
||
1.0.0.0 |