MATLAB: Selecting specific criteria in one column that is part of a matrix

less thanMATLAB

Hi guys,
I have a query. So I have a matrix composed of 3 columns and I have to eliminate the rows which number in column 1 is more than ex 70. How can I do that?

Best Answer

discard=(A(:,1)>70);
A(discard,:)=[];