t = 0:.1:7;
mu = 1;
mu1 = 6;
x_t = my_unit_step(t,mu)-my_unit_step(t,mu1);
plot(t,x_t)
figure
t1 = 0:.1:8;
mu2 = 2;
mu3 = 4;
h_t = my_unit_step(t1,mu2)-my_unit_step(t1,mu3);
plot(t1,h_t)
figure
ty = (2:.1:9);
y1 = conv(h_t,x_t, 'same');
plot(ty,y1)
figure
Best Answer