Create morphological.m

matlab code