I have a cell array with ~6000 rows. Next, I have a vector with a set of row indexes, let’s call it removalIdx. I would like to create a new cell array that has all of the rows from the original cell array EXCEPT for the rows specified by removalIdx. Any ideas on how to do this without reverting to a for loop?
I have a cell array with ~6000 rows. Next, I have a vector with
Share
The following example code should answer your question:
Note that: