You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
comb = ONECOMB(N,K,M) returns the M-th combination of the sorted list of all combinations from NCHOOSEK.
Makes use of a fast algorithm for the generation of a single combination.
NCHOOSEK(1:4,3) =
[ 1 2 3
1 2 4
1 3 4
2 3 4 ]
onecomb(4,3,3) =
[ 1 3 4 ]
Cite As
Darren Rowland (2026). ONECOMB (https://se.mathworks.com/matlabcentral/fileexchange/23064-onecomb), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired: MATLAB PPT
General Information
- Version 1.0.0.0 (2.1 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
