% mellow1_show.m template for filtering problem
Fs = 8000;
n=0:Fs;				% one second of samples
x1 = sin(2*pi*n/16);		% sin wave
x2 = 2*(rem(n,16) < 8) - 1;	% square wave
x = [x1, x2, x1];		% sin, square, sin
sound(x, Fs)			% go on, listen to the "music"
stem(n(1:20), x(1:20))		% see part of signal
