Dividing a set into subsets

I have A 2D matrix representing objects in the plain. I am looking for a function that can compute all possible combinations of dividing those objects into a certain number of groups (i.s every possible combinations of grouping the elements to 3 groups)

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Logical 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by