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
引用格式
Antonio Trujillo-Ortiz (2024). npermr (https://www.mathworks.com/matlabcentral/fileexchange/29877-npermr), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R14
兼容任何版本
平台兼容性
Windows macOS Linux类别
- MATLAB > Mathematics > Linear Algebra >
在 Help Center 和 MATLAB Answers 中查找有关 Linear Algebra 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!