pause(5);
figure(3);
Ydec = decimate(Y,2); 				% Half as many samples
FSdec = FS/2;							% Half the sample rate
sound(Ydec, FSdec, BITS);
ndecsamples = length(Ydec)			% Number of samples in new signal
ndec = [0:ndecsamples-1];
tdec = ndec / FSdec;					% time for new signal
plot(tdec, Ydec);
title('10,025 Hz Sampled Wave Data');
xlabel('t Secs'),ylabel('Amplitude');
