apply a gaussian to a timestamp serie

1 vue (au cours des 30 derniers jours)
Jonas
Jonas le 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);

Réponses (0)

Catégories

En savoir plus sur NaNs dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by