Good morning I have a piddle with time stems, e.g.
print $t; [ 100, 150, 200, 249, 300 ]; The data is really long and obviously the example above is made up. Anyway I want to calculate the number between and calculate, so from the data above I would have 50 = 2 49 = 1 51 = 1 The main reason I am doing this is to make sure that my measurements are on the window (in this case 50 ms) and how many are not. Currently I just did it by hand, keeping the last value and iterating through all the data in a loop. But it didn't feel very PDL way. What is the better way? Ta Scott _______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
