Integer partitions

Finds all partitions of a set containing homogenous elements, also called integer partitions.

Download
Download

You are now following this Submission

Cite As

Hin Kwan Wong (2026). Integer partitions (https://www.mathworks.com/matlabcentral/fileexchange/33616-integer-partitions), 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.3.0

--Added optional parameter s to specify maximum size of the partitions.
--Updated to more efficient code (~5x speed), as an unintended consequence, the ordering of partitions in the output cell is changed from the older version.

Download
1.1.0

corrected description

Download
1.0.0

Download