Fastest way to find the number of elements within a certain interval using two lists
Fastest way to find the number of elements within a certain interval using two lists Question: I have two lists called intervals and TIME. For each t in intervals, I define an interval (t-dt/2 and t+dt/2) and I want to calculate how many elements in TIME fall into that interval. Basically what I do is …