How to group/filter same values from different matrixes and their columns?
조회 수: 3 (최근 30일)
이전 댓글 표시
I have 4 different matrixes (in size) which are quite large (amount of columns between 50-100 and amount of rows 800-8000).
Every column in every matrix represents a group. The values saved below (in its rows) represent the groups members. This amount of members varies between 5 and 8000. The member values only appear once per matrix.
For example: Matrix 1 has a group (in e.g. column 32) with the members:
[23;41;5434;423;12;45;346]
and matrix 2 has a group (in e.g. column 89) with following members:
[44;25235;432;423;346].
One can see that both groups have the same members 423 and 346. It seems like these two values always are in the same group (though I would have to check matrix 3 and 4 if this really is the case).
I would like to this kind of "filtering" for all groups and save the same kind of group- so that I minimize my amount of collected data.
Any hints/ tips how to start this?
댓글 수: 0
채택된 답변
Sean de Wolski
2013년 4월 19일
I'm still not totally clear on what you expect. But you might be interested in these:
It's still not clear to me how you wish to define rows etc. A full example of inputs, expected outputs and reasonin with three small (3x2 or 3x3 matrices) would go a long way
댓글 수: 0
추가 답변 (2개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Resizing and Reshaping Matrices에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!