in matlab I create an cell that contains arrays with different size. for example:
group{1} = [2;3;4];
group{2} = [4;5];
group{3} = [2;4;11;5;7];
I'm going to find element and delete them. if I search for '4' then the result should be as below:
group{1} = [2;3];
group{2} = [5];
group{3} = [2;11;5;7];
how can I do it in matlab? I tried find, ismember, [group{:}] .