I only need matlab code for part iii