필터 지우기
필터 지우기

How to breakdown n data into all possible k groups

조회 수: 1 (최근 30일)
Konstantinos Belivanis
Konstantinos Belivanis 2015년 8월 19일
댓글: Guillaume 2015년 8월 19일
Hello all,
what I want to do is to break down n data (e.g. 4 for illustration purposes) into all possible 2 groups.
For 1 2 3 4 for example all possible 2 groups are
1 & 2 3 4
2 & 1 3 4
3 & 1 2 4
4 & 1 2 3
1 2 & 3 4
1 3 & 2 4
1 4 & 2 3
I hope you can understand what I mean. Of course order is not an issue in this case.
Regards,

채택된 답변

Guillaume
Guillaume 2015년 8월 19일
A quick google search find this file exchange entry

추가 답변 (1개)

Konstantinos Belivanis
Konstantinos Belivanis 2015년 8월 19일
I guess my Google is not as smart as yours...

카테고리

Help CenterFile Exchange에서 Google에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by