added matlab script to create macro_resamples.tmp