function U = GaussianSmooth(V);

% Someone's idea of a gaussian filter to smooth out a vector

% Window Size
w = 100;

% Construct blurring window.
windowWidth = int16(w);
halfWidth = windowWidth / 2;
gaussFilter = gausswin(w);
gaussFilter = gaussFilter / sum(gaussFilter); % Normalize.

% Do the blur.
U = conv(V, gaussFilter);

