apply a gaussian to a timestamp serie
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 NaNs 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!