use matlab
y(t)=10*(cos(2*pi*500*t)+cos(2*pi*1000*t)+cos(2*pi*1500*t)).
e) Down sample y(t) by a factor of 6. Sketch the Fouriertransform with appropriate frequency axis. Check if all frequencycomponents are correct?
Up-sample the time-domain signal obtained in e) by a factor of6. Use appropriate filter for interpolation. Sketch the Fouriertransform of the up-sampled and filtered signal. Does the resultingsignal show all frequency components of the original signaly(t)?