I think you want to take the "central" part of the convolution. Convolution will give a signal that has $length(c) = length(a) + length(b) - 1$length(c) = length(a) + length(b) - 1
. If you have Matlab or Octave, there is an option when using the convolution function to just take the central part.