# Questions tagged [window-functions]

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

220 questions
Filter by
Sorted by
Tagged with
100 views

### FFT strong signal in middle frequency bin

I've developed a radar that I'm using to determine the distance to remote objects. It uses a custom PCB with an onboard FPGA that performs the DSP algorithms. The data from it is then plotted on a ...
3k views

### How to calculate the power of a discrete signal? / Clarification on PSD estimates

I want to calculate the channel power $P_\mathrm{x}$ of a given discrete and complex signal $x[n]$ (with a length of N) in a given bandwidth $B$. I'm aware, that I could probably apply a sharp ...
168 views

### Overlapping power-of-cosine windows with constant weight

I would like to refer you to a relevant question I posed on the Math StackExchange: A generalisation of the Pythagorean trigonometric identity. As can be seen from the question and the answer, what ...
891 views

### segmenting an EEG data

I have an EEG labeled data, which is the data that used for training, And I want to segment those data based on the time of EEG signal (Time-based Epoching) as a preprocessing step, based on the ...
74 views

### Difference between applying a window to a whole signal and frames.

I'm going to do feature extraction using a speech signal. The first step is the windowing of the signal using Hamming window. I'd like to know if I should apply one single window to the whole ...
49 views

### Correctly scaling FFT of different lengths

I have been looking at using two FFTs of different lengths and displaying the output magnitudes on the same graph (a shorter length window for the higher frequencies, and a longer one for lower ...
91 views

### Does spectral leakage include negative frequencies?

When choosing a window function, window duration, and/or transmission frequency (assuming sampling rate satisfies Nyquist), one may want to understand what sort of spectral leakage would occur at a ...
23 views

### Why is the coherence function unity at all frequencies when only one reading is done?

Several papers on the internet states that the coherence function is unity for all frequencies if only one reading is done, and that the coherence function requires an average of two or more readings ...
37 views

### Python window funtion implementation [closed]

Can you help me implement window functions in python? I have to write functions for following windows: rectangular triangular hamming hanning blackman parzan Thank you in advance
48 views

145 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 ...
62 views

### How can I graph the amplitude for a given frequency window over time?

I have simple audio files of single plucked notes from a guitar: I want to graph the amplitude of each partials over time, rather than just have this color-coded "dB" intensity graphing I have here. ...
86 views

### Can the Hanning Window be represented in the time domain

I know the Hanning window, $w_{Hann}(n) = 1 - \cos \left(2\pi \frac{n}{N} \right)$, is typically applied to discrete Fourier transforms. $N$ being the total number of points in a transient signal that ...
36 views

### Window function correction when using frequency domain likelihood

I was wondering if someone could tell me or point to resources which discuss what kind of of windowing corrections factors one should use when using a frequency domain Whittle likelihood for spectral ...
386 views

### Comparison of results own implementation and python signal.welch

I am trying to replicate the output of Python's signal.welch function to make an estimate of the PSD from an FFT calculation. I don't want to use the built-in function to understand better what is ...
114 views

### Window function for signal with 3-5 sine waves inside

Should I apply some window before FFT if I want to find 5 frequencies in signal? Signal is pure 5 sinusoids + some noise generated during recording on analog cable.
101 views

168 views

### Zero padding - High amplitude

I have a set of 512 samples that I have collected with a sensor. I'd like to apply zero padding to it, for better frequency bin resolution. However, all the tutorials I see to make this occur center ...
3k views

### How to calculate resolution of DFT with Hamming/Hann window?

The frequency resolution of a DFT with a rectangular window of size $N$ is given by $f_s/N$. However, when using other window functions like a Hamming or Hanning window the resolution gets worse. How ...
45 views

### How to window a time domain signal for 6 symbols with cyclic prefix length of 512 samples?

Based on LTE stds. I am running a simulation for 6 symbols (each having 1200 central subcarriers) each in a 2048 FFT/IFFT bin. To these symbols are appended 512 samples as cyclic prefixes. I have to ...
39 views

### Applying window function to reduce out of band emission for a symbol in LTE simulation?

I have to apply a window to an IFFT'ed signal (based on LTE standards, simulated for 1 symbol - 100 resource blocks - 1200 subcarriers). I have a signal which I have simulated till the IFFT. Now I ...