% DEMO:         CREATING PULSES DEMO
%
% Program:      pulse_construction.m
% Written by:   
% For:          EE 311
%               Demo for Computer Lab 6
% Date:         8-4-2001
% Purpose:      This program generates a table of pulse shapes
L=30;
u=zeros(1,L);
ts=.01;
for M=1:6
  for N=0:M-1
	subplot(6,6,M+6*N)
	x=[u,pulse(L,M,N),u];
	t=ts*([0:length(x)-1]-L);
	plot(t,x)
	axis([-L*ts,210*ts,-1.2,1.2])
	end
end		 