there is column having arbitrary value from 0-1200 but I have to take only 600-800 from that column? How can I ?
1100 4.7693 13.746 0.08116 308.69831160 4.5938 13.24 0.08112 308.686191220 4.5577 13.136 0.08109 308.674071280 4.9122 14.158 0.08105 308.662051340 5.0029 14.419 0.08102 308.649441400 4.7408 13.664 0.08099 308.6368420 4.7447 13.675 0.08096 308.6252480 4.8635 14.017 0.08093 308.61322140 4.7867 13.796 0.0809 308.60065200 4.6726 13.467 0.08088 308.58905260 4.7121 13.581 0.08086 308.57675320 4.6942 13.529 0.08083 308.56442a=xlsread('Book1.xlsx');k=1;for i=1:length(a(:,1))if 600<=a(i,1)>=800a(i,1)=NaN;k=k+1;endend
Best Answer