Consider this short code:
fc=2e9;
fs = 100e9;
for n=1:2
tc = gmonopuls('cutoff',fc);
t{n} = -2*tc:1/fs:2*tc;
y{n} = gmonopuls(t{n}+n*5e-11,fc);
fc=fc+5e3;
end
plot(t{1},y{1},'r',t{2},y{2},'k')
It generates a two Gaussian mono-pulses shifted by a slight amount:
My problem is this: How do I make this symmetric? Note how the tails match up...they are zero for both the red and black pulse. I am new to the signal processing toolbox in matlab and want to modify the code below to have matched heads too.



