How to group/filter same values from different matrixes and their columns?
4 views (last 30 days)
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?
0 Comments
Accepted Answer
Sean de Wolski
on 19 Apr 2013
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 Comments
More Answers (2)
See Also
Categories
Find more on Matrix Indexing 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!