ex6_Matlab.pdf