Create main.m

matlab code