MATLAB: Deleting Specific elemnts from Vector

arrayMATLAB and Simulink Student Suite

Hiya,
I have a 15660×1 array 'tm' and as well as a 3×1 array 'm'= [i, j, k]. I would like to remove the 'ith', 'jth' and 'kth' elements from the 'tm' array, so any help would be greatly appreciated!
Thanks 🙂

Best Answer

If i, j, and k are positive integers, then
tm(m) = []