I am trying to sort ordered pairs of a very large data set based on the criteria that y(i) >= 17000 + 2*x(i). I want to keep the ordered pairs that meet the criteria and get rid of the ones that don't. I was thinking about a for loop along the lines:
for i=1:length(x) if y(i)>= 17000+2.*x(i) y=y(i); x=x(i);
but then I didn't know where to go from there. Any help would be appreciated.