# Questions tagged [window-functions]

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

240 questions
Filter by
Sorted by
Tagged with
37 views

### WOLA vs Simple Hamming Window on signal before FFT

Im working on a project in which I should FFT a signal coming into my FPGA from ADC. I want my FFT to show the peak values as clear as possible without the side lobes. The solution should be straight ...
26 views

### Length of Hamming Window to Resolve a Harmonic

I am trying to answer the question: "Given a single-sourced pitch signal with a fundamental frequency of 440Hz and a sampling rate of 44100Hz how long should the Hamming window of the STFT analysis ...
47 views

46 views

### Magnitude attenuation by a filter

I have a filter, with coefficients given by $$W=\sin((2*\pi*2*F_f*k/F_s)/(2*\pi*2*F_f*k/F_s))*h[k]$$, where $F_f$ is the filter reference frequency, $k$ runs from $-N/2$ to $N/2$ ($N$ is the order ...
5k 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 ...
905 views

### Matlab: Estimating power spectral density of an experimental data?

How do I estimate PSD in matlab ? There are lots of methods to estimate, depending on application. I am using an experimental data to identify faults ( e.g. interturn fault of electric motor), which ...
173 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 ...
1k 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 ...
85 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 ...
92 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 ...
50 views

### Confused in Smoothing a signal in the Frequency domain

First of all i am new in DSP, so i have no solid education in the field. I have convert my time domain acceleration-seismic data to frequency using DFT and i am trying to smooth the DFT data, in ...
52 views

### Using overlap add for drawing spectrogram

I'm confused with overlap-add (OLA) in the following two scenarios filtering/convolution an input signal; applying an STFT on input signal only and draw its spectrogram. When applying OLA to ...
78 views

### Advantage of applying a Window Function in Analysis and Synthesis of STFT?

I'm studying Short-time Fourier Transform and I learned that if you apply a windowing other than rectangular, you need to overlap the frames---for example, 50% overlap for Hamming family---to ...
2k views

### Extending 1D window functions to 3D (or higher)

(cross post of SO: https://stackoverflow.com/questions/27345861/extending-1d-function-across-3-dimensions-for-data-windowing ) For the sake of image (volume) registration, I'd like to apply a ...
38 views

### Synthesis of 75% Window Overlap Add method for Short-Time Fourier Transform (STFT)

I'm doing the overlap-add method for STFT and I quite understand the implementation if it's a 50% overlap (where I add the 2nd half of the previous frame to the 1st half of the current frame during ...
334 views

### windowed sinc filter in matlab

Hello i'm designing a low pass filter windowed sinc in matlab ...
34 views

### Recoverable continuous function after average sampling

I have a personal interest in this question, but I don't know if it is unfounded. Suppose I have a continuous function x (t), which is sampled using an average sliding window, which performs a ...
23 views

### Pandas resample.mean()

I have a question to all you filter experts out there. I have some engine data sampling irregularly at about 50Hz. Recently I've been downsampling via the Pandas resample().mean() method. Basically ...
66 views

### spectral leakage for integral number of periods

I'm attempting to understand spectral leakage and read the following quote on wikipedia: Windowing a sinusoid causes spectral leakage, even if the sinusoid has an integer number of cycles within a ...
42 views

### How to applly Hanning window on S parameter results?

I am working on Time domain computation. I have S parameter results simulated, using these results I do the Inverse FFT to get results in time domain. I want to filter/window results using Hanning ...
129 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 ...
113 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 ...
34 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 ...
40 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
63 views