convolving 1D filter in 1D signal
27 views (last 30 days)
I have a filter with this eq:
GH2=4*t^2*exp(-t^2) - 2*exp(-t^2);
the t here is a 1*6787 array of numbers, I should convolve my 1d signal; here e(t) with this filter, each of those ts in the above eq coresponds to the t here in e(t), now for convolution I am using the folowing loop, but those ts that I am choosing for my filter make the whole calculation to be elementwise, so I cant convolve my signal with this filter.
Now my question is what should I do to make this filtering process correctly?
GH2=4*t^2.*exp(-t^2) - 2*exp(-t^2);
e_low=conv(e,GHE2);%this part has an error that convolution is not for elementwise operations