Draw without Repetition
Version 1.0.0 (1.31 KB) by
Hammam Orabi
This code will generate k unique sets of length n from a larger set of integers from 1 to K.
% This code will generate k unique sets of length n from a larger set of
% integers from 1 to K.
% All elements are unique and no repitions exit across k sets.
Cite As
Hammam Orabi (2024). Draw without Repetition (https://www.mathworks.com/matlabcentral/fileexchange/116465-draw-without-repetition), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2022a
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0 |