Homework 1-2 MATLAB scripts

Homework 1-2 MATLAB scripts