Picking elements from a set

Gives all possibilities of picking k elements from a set of N with/without order/repetition.

Download
Download

You are now following this Submission

Cite As

Stefan Stoll (2026). Picking elements from a set (https://in.mathworks.com/matlabcentral/fileexchange/12724-picking-elements-from-a-set), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired: VChooseK, VChooseKR, VChooseKO

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0

Download