Questions tagged [window-functions]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
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 ...
0
votes
1answer
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 ...
0
votes
1answer
47 views

Blackman-Tukey Autopower equation

I am looking over Blackman-Tukey method for Autopower. It uses the DFT after a window is applied on a autocorrelation. $$ Power Spectrum = \frac1{2\pi} \ \sum_{(k=-(N-1))}^{N-1} w[k] R[k] e^{-i\...
0
votes
1answer
33 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
94 views

Windowed N-point FFT

In the previous question, Smoothing in frequency domain and impulse reponse of the filter in time-domain I guess I have made a mistake in-terms for applying windowing to FFT. After reading "...
5
votes
2answers
10k views

python scipy fft on numpy hanning window smears peaks

I have a signal that I have acquired from an experimental instrument, that I wish to examine in the frequency domain. I don't care about phase for this exercise, I only care about magnitude. I ...
1
vote
1answer
43 views

Harmonic Product Spectrum from FFT output to the fundamental frequency

I'm trying to do the HPS algorithm on my FFT output, but I'm stuck here. My signal is from a bass (cable), 16bits, 48.000Hz. I split in time domain the array of the whole record into multiple arrays ...
1
vote
2answers
86 views

Rectangular vs Hann windowing

I'm trying to create a basic digital signal processing pipeline, to manipulate a WAV file. Nothing fancy, I'm just looking to apply some filtering. My first attempt was to divide the input signal to ...
0
votes
1answer
16 views

Deriving expression for the DTFT of a rectangular window

Looking at the picture above, how did the author get from point A) to B)? My Approach: Multiply A) by $e^{j\omega/2}/e^{j\omega/2}$. Now I am stuck with simplying the numerator.
0
votes
1answer
31 views

LowPass Filter & Window *Img & Code* - Frequency Response has no lobe roll off

Not sure if I am doing something silly but I am not seeing lobe roll off on the frequency response of my windows and the low pass filter I made in MATLAB. Please can you help ... several hours just ...
0
votes
2answers
1k 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
vote
2answers
352 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 ...
0
votes
1answer
32 views

High Order Filtering [duplicate]

Which window has better performance for higher order filtering? A. Rectangular window B. Hamming window C. Kaiser Window D. Hann Window Can anyone please answer this with explanation.
1
vote
1answer
494 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 ...
0
votes
0answers
35 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
2answers
157 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$ ...
2
votes
2answers
65 views

Effect of changing sample rate, window duration and zero padding on DTFT and DFT

Let $T$ be the window duration, $N$ be the DFT size, $F_s$ be the sample rate, and $F_{max}$ be the frequency of the highest bin. In the context of image below: halving the $F_s$ (keeping $T$ ...
-1
votes
4answers
72 views

Hanning Window Bandwidth

I am using scipy's "scipy.signal.hanning" to determine a hanning window. This method returns an array with the window and specific number of points based on your input. More info: https://docs.scipy....
0
votes
2answers
93 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
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 ...
2
votes
1answer
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 ...
2
votes
1answer
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 ...
3
votes
1answer
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 ...
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
1answer
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 ...
1
vote
1answer
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 ...
0
votes
2answers
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 ...
0
votes
1answer
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 ...
1
vote
1answer
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 ...
2
votes
4answers
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 ...
0
votes
0answers
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 ...
1
vote
1answer
334 views

windowed sinc filter in matlab

Hello i'm designing a low pass filter windowed sinc in matlab ...
0
votes
1answer
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 ...
0
votes
0answers
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 ...
0
votes
2answers
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 ...
0
votes
0answers
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 ...
3
votes
1answer
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 ...
2
votes
1answer
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 ...
0
votes
0answers
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 ...
-3
votes
1answer
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
0
votes
1answer
63 views

When can a windowed cosine be considered band-limited signal?

I have an exam in the following days and i have no clue of what is the response to this question in the exam: given this signal: $$g(t) = H\left(t+\frac{T}{3}\right) f(t) - H\left(t-\frac{2T}{...
0
votes
0answers
49 views

How to applying window function to get same result with pwelch in MATLAB

I'm trying to calculate the power spectral density (PSD) to analyze signal power. To do so, I wrote a MATLAB code with the great help of others and below is my code. ...
0
votes
0answers
168 views

Can Kaiser's formula be used to estimate the filter length of an FIR filter for all windowing methods?

I came across this problem while designing a FIR filter for given $\omega_p = 0.4\pi$ and $\omega_s = 0.6\pi$ along with the minimum stop-band attenuation $\delta_s$. I have worked out some examples ...
2
votes
2answers
121 views

STFT on time varying signal with good time and frequency resolution

I am trying to determine the main frequency of a noisy signal that varies in frequency over time. Ideally I want to detect changes in the frequency as rapidly as possible - say 50Hz update rate, but I ...
1
vote
2answers
1k views

Kaiser window approximation

Are there any "good" low-computational-cost approximations for parameterized Kaiser window generation suitable for small systems/languages that do not include Bessel functions in their standard ...
1
vote
1answer
120 views

Why does my plot of the Blackman window not match everyone else's in literature?

I've seen the plot for Blackman window as so in a bunch of books, as on this website: But plotting the same equation on Wolfram Alpha yields a different plot: Why is their graph not centered around ...
2
votes
1answer
505 views

Why is the Hamming and Hanning window the most widely used for speech spectograms?

When taking the Short-Time Fourier Transform of the speech signal, windowing is applied to taper away the signal frame at both ends and mitigate introduced artifact at expense of the maximum ...
1
vote
1answer
113 views

Cosine window function & signal with nonzero mean

I'm using cosine window function of order $p$: $$ f(t) = \frac{2^p (p!)^2}{(2 p!)} \left(1 + \cos(\pi t)\right)^p $$ for frequency identification in real signals with several frequency components. ...
2
votes
2answers
167 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 ...
0
votes
2answers
88 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. ...

1
2 3 4 5