# Questions tagged [window-functions]

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

290 questions
Filter by
Sorted by
Tagged with
21 views

### Doubt regarding scaling of Welch Overlap Segment Averaging with Lomb Scargle

I am doing something similar to this question Comparison of results own implementation and python signal.welch. In my case there is no Welch method associated with the scipy lomb scargle spectrum so I ...
• 103
64 views

### How to generate a raised-cosine window with a specific roll-off factor in Matlab?

I have recently started working on signal processing. For a small project, I have to shape cosine signals using a raised-cosine window with certain roll-off factors in Matlab. To give you an example, ...
• 3
28 views

### Antenna pattern in frequency domain and Hamming window

I have an antenna pattern (azimuth cut) and I want to apply a Hamming window to it. In SAR processing the target is shaped by the azimuth antenna pattern, and on top of it it should be possible to ...
• 11
39 views

### Impact of STFT window function and FFT length on computation time

I have been doing a study which part of it includes a comparison of computation time vs window type and length (among some other things in the computation time, however I speak in terms of relative ...
• 77
54 views

### Sampling, filters, windowing, FFT. From theory to help on this coding list

My plan is to analyse the spectrum of samples from a microphone. I wonder how correct this suggestion is. The below description may then fail on several points. I am in need of somebody with a red ...
90 views

### Applying a window to a signal

How can I Gaussian or Bartlett window to a signal? On the other hand, is it a good way of smoothing signals? If not what are the differences between smoothing and windowing?
131 views

### FFT with High Time and Frequency Resolution

Can anyone describe in a bit more detail or provide references to the techniques for simultaneous enhancements to time and frequency resolution described in a high level in this video? Can anyone ...
• 51
85 views

### Low-pass vs. windowing function in front of FFT

I am sampling sound at 48 kHz because that's what the DAC for the headset needs. I take every 6th of these. So I have 8 kHz and process 1024 at a time. My goal is to analyse the spectrum in the final ...
107 views

### Complex Windows

Typically windows are symmetrical and real. Are there any applications where complex windows have been used (other than applying the same real window to the real and imaginary components of a complex ...
• 37.1k
35 views

### Understanding spectral leakage in a pink noise dominated signal

I've been reading about power spectral density estimation based on the DFT, about spectral leakage, windowing functions and the Welch method. I've recorded a signal that's supposed to be pretty much ...
• 123
105 views

### normalize STFT output by magnitude

I am using torch.stft() to generate spectrograms for neural networks and come across the below code. ...
• 45
133 views

### Optimize window length (STFT) via gradient descent (in neural networks)

The authors from this paper optimized a Gaussian window size via gradient descent (the σ parameter of the bell curve) together with the other parameters of neural networks. I don't use Gaussian window ...
• 45
1 vote
64 views

### Artifacts on frequency spectrum

I made a spectograpm in C that takes in a wav file (44.1kHz), converts it to 8bit pcm(can't go higher because of memory constraints) and does 1024 sample FFT on a number of bins, using Welch method. I ...
• 43
851 views

### Proof that the rectangular window has the best resolution

The resolution of a window is typically defined by the width of its spectral mainlobe (3dB-width or null-to-null width). It is often stated that the rectangular window has the best resolution among ...
• 165
48 views

### lopsided Hanning Window function

I am processing sensor signals and have been looking at using window functions to smooth out the signal before I conduct a fft on it. A normal symmetrical hanning function seems to disorientate the ...
40 views

• 125
55 views

### Variable Window Size of Blackman FIR filter

I am trying to implement an FIR filter with a Blackman window function. The solution I got for my signal filtering problem is to have different window sizes for certain characteristics of the input ...
1 vote
68 views

### Frequency Support of Window Functions

All window functions, which go from zero amplitude, up, then back to zero amplitude, are all base-band signals. Why is this? Are all functions that have this behavior always band-band aka low-pass?
• 580
77 views

### Zero Meaning a Hamming Window in Matlab

I am still relatively new to signal processing and MATLAB and am working on a short-time fourier transform of some data using a prexisting code. Within the code a Hamming window is produced and ...
54 views

### Reconstructing a signal from multiple filtered copies using overlapping tapered windows

I have an audio signal that I need to process and analyse in blocks. I've now decided to process it using overlapping non-symetric Hanning windows of length M = 9600 and a hopsize of R= M/2. I zero ...
• 27