apply a gaussian to a timestamp serie

1 次查看(过去 30 天)
Jonas
Jonas 2014-3-12
I am trying to apply a gaussian transformation to a timestamp serie (basically a 1-by-n matrix of 0 and 1) using conv2. I use the fspecial function to obtain a Gaussian curve and then use conv2 to apply the gaussian to the serie.
my problem comes from the size of the gaussian, as it should be very broad, and I can't change it (tried to play with the sigma value, but failed to have the result I wanted). Gauss=fspecial('gaussian',[1 9],0.4); GausSpkTrain=conv2(GausSpkTrain,Gauss);

回答(0 个)

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by