It is generally true that convolving two signals will result
It is generally true that convolving two signals will result in a signal that is smoother. In this part of the lab, you will be looking at this smoothing property of convolution.
(a) Generate a unit amplitude pulse, p0(t), of duration two seconds that is nonzero over the interval [0, 1], In matlab
Make sure that your pulse has at least 1000 points over the interval [0, 1] followed by 1000 zeros. Save your result in p0.
Solution
t1=0:0.001:0.999; % defines the time axis
 y1=ones(1,1000); % defines an 1 x n matrix which is filled with ones
 p0 = plot(t1,y1); %displays the data as lines
 t2=1:0.001:1.999; % defines the time axis
 y2=zeros(1,1000); % defines an 1 x n matrix which is filled with zeros
 hold on;
 p0 = plot(t2,y2); %displays the data as lines
 ylabel (\'Amplitude\'); % name the Y axis
 xlabel (\'Time Index\'); %Name the x axis
 TITLE (\'Unit Step Signal\'); % Giving the title for the plot

