I would like to do exactly what is explained in the answer by Jim Lewis to the post below (see link) in the case that each file contains a different number of samples. Jim states that this can be done using PTR_NEW. Any ideas how to use PTR_NEW in the loop showed in the answer?
Thanks, Catia