remove elements with a certain name from matlab cell array code example Example: how to remove certain value from a array in matlab S(S == -120) = [];