MATLAB question

MATLAB assignment due in 4 hours time.