Create avgIntensityTimecourse2.m