Windowing in Frequency Domain: Exploring Effects on Time Domain Data

In summary: DFT is defined with 1/\sqrt{N} in front of the summation for N=1, then the multiplication of time domain samples by the window will cause a mismatch in scale between the frequency domain and time domain signals and will need to be corrected.
  • #1
DSPly
4
0
Hey @ all,

when windowing in DSP in time domain one multiplies all recorded time samples with a weighting factor (hanning, hamming, etc.), followed by a Fourier transform (FFT) to reduce sidelobes in the spectral domain.

But now when thinking about starting up in frequency domain where I have multiplied my frequency data with a rectangular window, i.e. I have only non-zero frequencies from fstart to fend ( ... 0 0 0 0 0 0 0 fstart f1 f2 f3 f4 f5 fend 0 0 0 0 ... ). (or alternatively I only have frequency datas recorded at finite points.) What happens to my time domain data after performing the inverse FFT due to the rectangular window?


But in general: How do one has to perform windowing in frequency domain? Really by multiplying the "origianal" (i.e. time domain) window-coefficients with the spectral components? Or performing convolution (with the origignal window, or the Fourier transformed coefficients?) since this is the fourier-pair to multiplication?

Thanks for any ideas.
 
Engineering news on Phys.org
  • #2
there is a theorem of Duality with the Fourier Transform (even with the DFT). whatever effect in the time domain there is from a frequency-domain operation is just like the effect in the frequency domain from the same operation done in the time domain (except for a reversal of time or frequency in one or the other and also with scaling).
 
  • #3
With the DFT, a (sampled) rectangle function in the time domain corresponds to a (sampled) Dirichlet kernel in the frequency domain. In general the Fourier transform or inverse Fourier transform of a rectangle function will be a "sinc-like" function.

For the DFT, multiplying in one domain (applying the window function to the samples in the time domain) corresponds to convolution in the other domain. So to perform the time domain windowing in the frequency domain, you could convolve the DFT of the time domain signal with a particular (sampled) Dirichlet kernel function. For the data that one would use with the DFT/iDFT, circular convolution is appropriate.Using the frequency domain rectangular window can remove certain frequencies from the signal.
 
  • #4
thank you for the answers.

Okay, so as I want to window my sampled time domain signal I can decide weather I want to do this directly in time domain (multiply samples with window) or in frequency domain (convolve Fourier transformed samples with the transformed window).

And if I got it right I perform windowing on my recorded frequency domain data just the same way, interchanging only "time" with "frequency" due to the theorem of duality: Either multiplying my frequency samples with the window coefficients or convolvong the iDFT of my frequency data with the inverse transformed window coefficients.

Right?
 
  • #5
Yes
_
 
  • #6
you are perfectly correct in this specific case.

one thing to remember is that, when applying duality, you swap time with the negative of frequency. when the time functions are even symmetry (like the rectangular window), so also are the frequency functions so this negation of time or frequency does not matter in the case of even symmetry.

also, i just remembered, that the scaling of [itex]1/N[/itex] in front of one of the DFT summations makes a difference. if the DFT is defined with [itex]1/\sqrt{N}[/itex] in front of both summations, then you have a nice symmetry and you need not worry about the difference of scaling.
 

1. What is windowing in the frequency domain?

Windowing in the frequency domain is a signal processing technique where a window function is applied to a time domain signal in order to analyze its frequency components. This allows for a more accurate representation of the signal's frequency content, as the windowing function reduces the impact of any sudden changes or discontinuities in the signal.

2. How does windowing affect time domain data?

Windowing in the frequency domain can have various effects on time domain data. Depending on the type of window function used, it can smooth out sudden changes or reduce noise in the signal. However, it can also introduce some distortion or loss of information in the time domain data.

3. What are the most commonly used window functions?

There are several popular window functions used in frequency domain analysis, including the rectangular, Hanning, Hamming, and Blackman windows. Each of these functions has its own unique characteristics and is suitable for different types of signals and applications.

4. How do you choose the right window function for your data?

The choice of window function depends on the specific characteristics of the signal you are analyzing. Some window functions are better at preserving the amplitude of the signal, while others are better at reducing noise. It is important to understand the trade-offs and choose a window that best suits your analysis goals.

5. Can windowing in the frequency domain improve the accuracy of signal analysis?

Yes, windowing in the frequency domain can improve the accuracy of signal analysis by reducing the impact of noise and sudden changes in the signal. It can also provide a more detailed representation of the signal's frequency content, allowing for more precise analysis and interpretation of the data.

Similar threads

  • Electrical Engineering
Replies
17
Views
1K
  • Electrical Engineering
Replies
20
Views
2K
Replies
68
Views
3K
  • Electrical Engineering
Replies
4
Views
796
  • MATLAB, Maple, Mathematica, LaTeX
Replies
1
Views
1K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
1
Views
737
  • Programming and Computer Science
Replies
4
Views
1K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
8
Views
1K
  • Electrical Engineering
Replies
3
Views
1K
Replies
7
Views
3K
Back
Top