Set partition

List all partitions a set n elements

Download
Download

You are now following this Submission

Cite As

Bruno Luong (2026). Set partition (https://in.mathworks.com/matlabcentral/fileexchange/24133-set-partition), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: PARTITIONS

Inspired: PARTITIONS

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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

Correct formating of cell of numeric

Download
1.6.0-0

Partitions display function

Download
1.5.0

Possibility to partition generic set elements (following Matt Fig's idea). New function to replace elements of a standard set partitioning list

Download
1.2.0

Correct a BUG for N=0. Minor speed improvement.

Download
1.1.0

Improve engine and example usage in the help as suggested Darren Rowland

Download
1.0.0

Download