SubSets

SubSets(m,n) returns all m dimension subsets of an n member set.

You are now following this Submission

%SubSets SubSets(m,n) returns all m dimension subsets of an n member set.
% Subsets(m,n,k) starts from k'th member.
% This routine works recursively. Results are arranged column-wise
% in a matrix.

Cite As

H. Sh. G. (2026). SubSets (https://www.mathworks.com/matlabcentral/fileexchange/17702-subsets), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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