EE Matlab Homework