Hello,
I am very sorry if this was already solved, but a quick search in the answers yielded nothing.
I have an Nx1 cell array with cells containing a vector each with varying length. Some of these vectors are duplicates, which I would like to remove.
Example – From this:
[11 12 23 24 13 14 21 22][11 12 23 24 13 14 21 32 31 22]1x12 double[11 12 23 24 13 14 21 22][11 12 23 24 13 14 21 32 31 22][23 24 33 34][21 22 31 32]
where cell 3,1 and 4,1 are copies of cell 1,1 and 2,1
I want to get this:
[11 12 23 24 13 14 21 22][11 12 23 24 13 14 21 32 31 22]1x12 double[23 24 33 34][21 22 31 32].
How to do this in a performant way? unique(mycell, 'rows') would not work on cells as far as I know.
thanks & best wishes, Florian
Best Answer