The following Matlab project contains the source code and Matlab examples used for finds all partitions of a set, or only those partitions of a specified length. includes a viewer. .
C = PARTITIONS(N), for scalar N, returns all possible partitions of the set given by {1,2,3,.

The source code and files included in this project are listed in the project files section, please make sure whether the listed source code meet your needs there.

## Project Files:

File Name | Size |
---|---|

license.txt | 1308 |

partdisp.m | 3048 |

partitions.m | 4534 |