MATLAB: Cell array: larger/ smaller than statement

cell arraylarger/ smaller statement

I have a cell array A (with string and numeric entries). I would like to drop each row where the (purely numeric) value in column 5 is smaller than a constant c. How can I do it? Thanks in advance.

Best Answer

Much the same as per your last question:
c = 3;
Y = X(~cellfun(@(x)x<c,X(:,5)),:)