MATLAB: Eliminate certain entries of cell array

cellarray

I have a 1×73 cell array, FR, and I would like to eliminate FR {8, 17, 31, 41, 43, 47, 49, 56, 60, 66, 73} and re-save as a 1×62 cell array. How can I do this?

Best Answer

If C is your cell array and FR has the indices of cells which are to be removed, use:
C(FR) = []