Combing MATLAB and Macro-Expressions

Please have a look at [Loop over certain antizipation horizons)