# Questions tagged [window-functions]

In signal processing, a window function is a mathematical function that is zero-valued outside of some chosen interval.

33 questions
Filter by
Sorted by
Tagged with
13k views

### What should be considered when selecting a windowing function when smoothing a time series?

If one wants to smooth a time series using a window function such as Hanning, Hamming, Blackman etc., what are the considerations for favouring any one window over another?
3k views

### Why would one use a Hann or Bartlett window?

Suppose we're designing a low-pass FIR filter, and I want to use one of these three windows: Bartlett, Hann or Hamming. From Oppenheim & Schafer's Discrete-Time Signal Processing, 2nd Ed, p. 471:} ...
819 views

### Is spectral leakage due to windowing 'different' for the DTFT and DFT?

I'm currently trying to improve my foundational understanding of spectral leakage due to windowing. The more I have been reading about it, the more I'm starting to think that 'windowing spectral ...
4k views

### FFT with asymmetric windowing?

Common non-rectangular window functions all seem to be symmetric. Is there ever a case when one would want to use a non-symmetric window function before an FFT? (Say if the data on one side of the ...
11k views

### Choosing the right overlap for a window function

On Wikipedia there is quite a list of window functions. However, when you are doing a lot of STFTs, you often have to have some overlap to get better results. Generally an overlap factor of 2 (i.e., ...
63k views

### How to apply Hamming Window?

I am new in matlab and signal processing. The time series that have been used are obtained from accelerometer in a building. As far as I understand both the time series' length and window function ...
242 views

### Where do we use windowing?

I have been studying about the box window and am unable to understand one thing, do we first sample a signal and then window it resulting in up-scaling or downscaling, or is windowing a practical case ...
535 views

### Kaiser window approximation

Are there any "good" low-computational-cost approximations for parameterized Kaiser window generation suitable for small systems/languages that do not include Bessel functions in their standard ...
2k views

### What is the relation of the transition band's width and the filter order for the FIR windowing method

When designing an FIR filter using the windowing method, how can one estimate the filter order ? It's obvious that the type of window and the transitions band's width has some effect on the order.
525 views

989 views

### Power Spectrum in dBFs

I'm trying to get the spectrum of my signal in dBFS units. I'm not sure what is the refernce that I should devide by. I computed the power spectrum as follows: 1) FFT normalized to the number of ...
114 views

### Conditions for symmetric and unimodal windows in both time and frequency domains

After a lecture on harmonic analysis and time/frequency methods, I reconsidered the Gaussian kernel, defined in continuous time. It is unimodal and symmetric, and its continuous Fourier transform is ...
1k views

### Fourier transform artifacts

My starting point in what follows is a radially symmetric random field. Taking the Fourier transform of this (and plotting it in logarithm to highlight the patterns), I obtain the following image in ...
5k views

### Extracting accurate phase and amplitude information from FFT with an arbitrary number of samples

This is a followup question to one I asked earlier based on the chat after the answer given by @hotpaw2, and cross-posted from stackoverflow since it was suggested it is more relevant to DSP. I have a ...
908 views

### Working around FFT windowing?

I have the following problem, that I ran into recently, when calculating the spectra of data that I obtain from a measurement technique, we are using in our group. In short what we do in the ...
410 views

### PSD scaling due to the windowing

I am struggling with the following problem for a while: If I have signal of duration N and I apply window (assume rectangular window) of size M < N how will this influence PSD of that signal after ...
1k views

### Measure scalloping loss of window function

Is there an easy/general way to calculate this? For instance, the rectangular window has a maximum scalloping loss of 0.3634, which can be derived in frequency domain from a normalized ...
2k views

### Effect of Windowing Function on Autocorrelation Function

I need to compute FFT components and autocorrelation of a discrete signal. When I do not use any window function before taking FFT of the signal I get a reasonable AC function from FFT that includes ...
157 views

### Modified Periodogram function in MATLAB

Given below is a function written in MATLAB for computing the modified periodogram, taken from Hayes, Statistical Digital Signal Processing and Modeling ...
125 views

### Lost power while using FFT with apodizing mask

Previously I asked this question about FFT artifacts. The solution that is most easily implemented is using an apodizing mask on the original image, tapering the borders to zero making the image left-...