You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Calculates the number of combinations of N objects taken R at a time. This type of sampling is an unordered sample without replacement.
Syntax: function c = ncombr(n,r)
Inputs:
n - number of objects
r - number of objects taken at a time
Output:
c - number of combinations
Cite As
Antonio Trujillo-Ortiz (2026). ncombr (https://www.mathworks.com/matlabcentral/fileexchange/29878-ncombr), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.1.0.0 (1.69 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
