Time Domain plot of filtered Zn

figure;
stem(tn2,y);
xlabel('Time');ylabel('Amplitude');title('Filtered z_n');
% We can see that the filtered signal matches the original signal, since% the ADC noise has been reduced i.e. quantization noise has been% attenuated.