ex1_Matlab.pdf