Create degradation.m