Create avgIntensityTimecourse.m