% error: w = gausswin(n, a) % % Generate an n-point gaussian window of the given width. Use larger a % for a narrow window. Use larger n for a smoother curve. % % w = exp ( -(a*x)^2/2 ) % % for x = linspace(-(n-1)/n, (n-1)/n, n)