I have a data matrix a and I have list of indices stored in array idx. I would like to get 10-length data starting at each of the indices defined b
a
idx