n = [0:nsamples-1];
figure(2);
t = n / FS;				% time 
duration = max(t)		% duration of signal in msec
plot(t,Y);
title('Orginial Wave Data');
xlabel('t Secs'),ylabel('Amplitude');
