Homework 4 MATLAB scripts

Homework 4 MATLAB scripts