With all the tools and commands for segmenting lists, I'm having a hard time finding something to do the following: I want to programmatically subset the Nth Mth of a list. This could be the 1st 4th, the 3rd 16th, or so on. The function can return either the subsetted data set, or (preferably) just the indices to the data.
The idea here is so, for instance, I can generate a histogram that windows the entire data set in 1/3, 1/4, 1/5, 1/n etc blocks, with a window size that can easily be adjusted. What I don't want to have to do is use a whole bunch of Length[]
's in the part specification.