Create averageforTbyET_D.m