MATLAB project for course project