apply a gaussian to a timestamp serie

1 visualizzazione (ultimi 30 giorni)
Jonas
Jonas il 12 Mar 2014
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);

Risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by