How to group/filter same values from different matrixes and their columns?
Show older comments
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?
Accepted Answer
Categories
Find more on Resizing and Reshaping Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!