I ma facing issues while reading data and saving in to desired fashion. Here is an example, I need to save the temperature and salinity from a large dataset in every 120th raw for which i wrote the code as shown below.....is there any error? as I am recieving the entire data filed instead of every 120th one....
if(temp(i)> 0 && temp(i) < 30 );
if(sal(i)> 30 && sal(i)< 42);