npermr

Permutation coefficient.
324 Downloads
Updated 3 Jan 2011

View License

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

Cite As

Antonio Trujillo-Ortiz (2024). npermr (https://www.mathworks.com/matlabcentral/fileexchange/29877-npermr), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Linear Algebra in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.1.0.0

It was added an appropriate format to cite this file.

1.0.0.0