MATLAB 7.X programming exercises answer