Function File: gausswin (m)
Function File: gausswin (m, a)

Return the filter coefficients of a Gaussian window of length m. The width of the window is inversely proportional to the parameter a. Use larger a for a narrow window. Use larger m for a smoother curve.

w = exp ( -(a*x)^2/2 )

for x = linspace(-(m-1)/m, (m-1)/m, m)

Package: signal