To resolve issues starting MATLAB on Mac OS X 10.10 (Yosemite) visit: http://www.mathworks.com/matlabcentral/answers/159016
In this text file there are two columns. In second column i want to remove all those rows which falls between 279 to 291. So, how to do it..?
No products are associated with this question.
YourData = load('merged.txt'); YourData(YourData(:,2) > 279 & YourData(:,2) < 291, :) = ; save('Newmerged.txt', 'YourData', '-ascii');
Note that I have interpreted "between" as meaning not equal to 279 or 291 exactly, the open interval (279,291), rather than the closed interval [279, 291]