How do we apply windowing of 50% (4 samples) to a discrete signal with the odd number of values as
Is it done as:
1234 3456 567(0)
1234 3456 67(0)(0)?
Signal Processing Stack Exchange is a question and answer site for practitioners of the art and science of signal, image and video processing. It only takes a minute to sign up.Sign up to join this community
Depending on the window function, you may be able to use a DFT-even version of the window function. "DFT-even" means that the periodic extension of the window function is symmetrical. In MATLAB and Octave you can get such a window like this (the first line in the source code):
a = hanning(10, "periodic"); b = fftshift(a); c = a + b; plot(a, "x", b, "o", c, "+");
The window function and the shifted window function have in some sense a 50 % overlap, and they sum to a constant, which I think was the desired quality that the 50 % overlap was though to facilitate.
Not a problem in the above, but if the window function is such that it does not end at a zero value, and the start and the end values are not equal, then one possibility would be to move one half of the value of the last sample to just before the first sample.