slichtman & spinto MATLAB code for Design Exercise 1 in E151