Have you tried find? :-) find(pt1 .< x .< pt2)
2014-04-15 11:48 GMT+02:00 RecentConvert <[email protected]>: > I have a 10 Hz data set that needs to be averaged down to 1 Hz and I'd > like to do that by finding the 10 Hz data between two 1 Hz data points and > then averaging it. > > How do I find that data? This is quite simple in Matlab. > > f = find(x >= pt1 && x < pt2) > > > I have no found anything similar in Julia. > -- Med venlig hilsen Andreas Noack Jensen
