Questions tagged [window-functions]

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

46 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
1answer
6k 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 ...
2
votes
0answers
279 views

Auto correlation properties of window functions in pulse compression application

It is known that different window functions perform differently and users pick a window function (in amplitude modulation) based on their application or requirement. I am trying to pick a window ...
2
votes
0answers
588 views

DFT sinusoid's fundamental frequency, intuitively

I am trying to understand, intuitively, the mapping of a sinusoidal signal's fundamental frequency from time domain to frequency domain using $\textrm{DFT}$ formula. Given the time domain samples $\{x[...
2
votes
1answer
437 views

When does a Window function's sidelobe level become out of band attenuation?

Another question I'm struggling to answer by myself. For a Window function, say Blackman (response pictured), what is the out of band attenuation? If I'm designing a filter with out of band ...
1
vote
1answer
44 views

Understanding this Hanning Window implemented in microcontroller

I'm trying to calculate RMS of an AC signal which input frequency may vary from 40 to 70 Hz. I would like to use a window function because it accounts for frequency variations and also my ADC sampling ...
1
vote
1answer
165 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 ...
1
vote
1answer
553 views

windowed sinc filter in matlab

Hello i'm designing a low pass filter windowed sinc in matlab ...
1
vote
0answers
69 views

Frequency bins too powerful at the start and at the end of each sample computed DFT data

I've taken the following link http://coding-geek.com/how-shazam-works/#comments as a project to start practising and learning signal processing and python programming for me to get started in speech ...
1
vote
0answers
287 views

What is the algorithmic latency of STFT processing?

I was reading this paper, and in section 3 I got a bit confused. It claims that the algorithmic latency is equal to synthesis frame length. If the overlap between two consecutive frames is 50%, the ...
1
vote
0answers
38 views

Multitapering in time domain to obtain smoother filtered signals?

Suppose we want to approximate the instantaneous power $z(n) = |y(n)|^2$ of the discrete-time signal $y(n)$, where $y(n)$ is the result of filtering $x(n)$ with a given window $h(n)$, $y(n) = x(n) \...
1
vote
0answers
2k views

FIR filter design in matlab using Kaiser window (using 'fir1' and 'designfilt')

Here are the specs for FIR filter using Kaiser window. ...
1
vote
1answer
513 views

Filter, window function and audio signal: how to link them to each other?

I have a question about the implementation of digital filters in CoreAudio. I'm in big trouble because it is a few weeks I'm trying to understand how to implement them. The basic idea is this: while I ...
1
vote
0answers
29 views

Where can I find more information about this formula relating a window's time and frequency size?

I remember having seen a formula of the form $C=\frac{B}{L}$ that relates a duration $L$(s) of a window to its width $C$(Hz) in the spectrum (defined at -3dB or so). The constant $B$ would be ...
1
vote
0answers
91 views

Window function on large arays

Hello I'm reading the following document to better understand windowing and how to use it. "Spectrum and spectral density estimation by the Discrete Fourier transform (DFT), including a ...
1
vote
0answers
79 views

Specifications (N) FIR Low Pass Resamplig, Hamming Window

I'm learning about DSP and I've doubts. The resampling process can be do it with only one filter. $L$: Increment Sample Rate Integer $M$: Decrement Sample Rate Integer $f_S$: Frequency Sampling ...
1
vote
0answers
177 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-...
1
vote
2answers
365 views

Increasing the number of points in the frequency spectrum

I have an image with few pixels in length and height. For this image I calculated the two dimensional Fourier transformation. What I got for the frequency spectrum in one direction was a very ...
1
vote
0answers
101 views

instantaneous frequency

If my signal is $$ f(t)=\exp[i\phi(t)], $$ how do I show that $$ \int_{-\infty}^{\infty} {\xi}\left|S_f(u,\xi)\right|^2 d\xi = 2\pi\int_{-\infty}^{\infty} {\phi'(t)}\left|g(t-u)\right|^2 dt, $$ ...
0
votes
0answers
22 views

What is the spectrum of generalised periodic signals assuming mainlobe covers the first two harmonics?

I found this statement in the paper here which I have difficulty seeing why is it true. Let $H(\omega)$ represent the Fourier transform of a time-windowing function. Assume the width of the mainlobe ...
0
votes
1answer
48 views

window function between program and math

I'm newbie on signal processing. I know when we program python with window function. (just signal multiply with window) According to Harris paper I know we change w with different window(blackman). ...
0
votes
0answers
35 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 ...
0
votes
0answers
38 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 ...
0
votes
0answers
66 views

Gibbs phenomenon, which window to use?

"Rectangular window" and "Triangular window" have gibbs phenomenon So which window should be used in fir filter design to have minimum or zero gibbs phenomenon
0
votes
0answers
38 views

Fundamental component estimation

I am dealing with phasor estimation (fundamental component extraction primarily), and i am using sliding window DFT (which happens to be very popular for phasor estimation). Now at nominal frequency (...
0
votes
1answer
80 views

Smooth signal with Hanning

I have an acceleration record and i want to smooth it's spectrum by using a hanning window with Bandwidth=0.5 Hz. How could i do that? Example in python/matlab will be appreciated!
0
votes
2answers
109 views

Smoothing in frequency domain and impulse reponse of the filter in time-domain

I have a low-pass signal in frequency domain, $$\left[f_{min}=0, f_{max}=20\,\mathrm{GHz}\right]_{n=100}$$ After re-configuring the input signal as $$X=\left[-f_{max},\ \dots\ -f_{min},\ \mathrm{DC},...
0
votes
0answers
66 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 ...
0
votes
0answers
36 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 ...
0
votes
0answers
44 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 ...
0
votes
1answer
45 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 ...
0
votes
0answers
48 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 ...
0
votes
0answers
47 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 ...
0
votes
0answers
90 views

Windowing in frequency domain. how to cut a spectrum using window function in frequency domain?

I have a set of measurement data of a FMCW radar and trying to estimate the system transfer function. In the frequency spectrum, I can see multiple peaks due to the non-linearity that exist in the ...
0
votes
1answer
103 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 ...
0
votes
2answers
175 views

What happens if you apply window after filtering a discrete signal to get it back to its original length?

What happens if you filter a discrete bandpass signal of length $N$ with a bandpass filter(Hann truncated sinc) of length $L$ and apply a window of length $N$ to the filtered signal of length $N+L-1$ ...
0
votes
0answers
165 views

Analysis with Window before FFT

I have two signals $x$ (see below) and $k$ (obtained by giving circular shift of 106.5849 in $x$). Before I take FFT of both ($x$ and $k$) I want to do window analysis on them. Kindly can some one ...
0
votes
0answers
337 views

hamming window for LPC

I am working on a library for generating LPC for speech synthesis. I am currently using a hamming window for the spectral analysis which goes in 200ms blocks over the signal, and does the a-to-k ...
0
votes
0answers
126 views

Audio output distorted with any FFT Windowing other than rectangular

For an experiment i have a simple application that takes a quadrature signal from a radio and then does the following: Complex FFT -> Inverse FFT -> Cartesian to Polar -> audio out If I tune the radio ...
0
votes
2answers
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 ...
0
votes
0answers
59 views

Relation between Gaussian and Savitsky-Golay kernels

I would like to make a mathematical comparison between two methods in my field. One smooths with a Gaussian filter, and one smooths using a second-order Savitsky-Golay filter. Let's say the window ...
0
votes
0answers
245 views

BandPass and StopBand FIR filters (Hamming) is not working

I have two groups of 3 frequencies of tone (music), First Group Tones: 39 (77.7817 Hz), 40 (82.4069 Hz) and 41 (87.3070 Hz). Second Group ...
0
votes
0answers
338 views

Reducing latency due to FFT windowing for a real-time signal

I need to compute the amplitude of a certain frequency band as the input to a PID algorithm. My system looks like this: ...
0
votes
1answer
1k 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 ...
0
votes
2answers
2k views

MATLAB : How to filter a data signal

I have a data signal (column vector) with N values taken over at specific sample rate (dx) at a fixed frequency. After taking the Fourrier transform of this signal and representing it in the Fourier ...
-1
votes
1answer
261 views

Should I use window or any filtering to average my data?

I have 80 seconds of data and I have to score my data by taking the average or median (or some other method) every 10 seconds. What's the best way to do this ? Should I just use a regular rectangular ...
-1
votes
1answer
197 views

what is the preffered data and FFT length for blackman harris window for improving Accuracy due to ENBW Consideration of window?

for Rectangular window if data length is 1K then FFT Length Should be 1K FFT only because ENBW of rectangualr window is 1.0 but for Minimum 4-Sanple BlackmannHarris window is 2.0. so for improving ...