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

learn more… | top users | synonyms

1
vote
3answers
45 views

Apply the Hamming window to a sinusoidal signal

I am a novice in signal processing. I am writing a code to apply the hamming window to a sinusoidal signal. So first I have digitized my sinusoidal signal by choosing a sampling rate more than twice ...
0
votes
0answers
46 views

How to resample a continuous stream of data

I've been working on a project that requires resampling a continuous stream of data. It will eventually be implemented in C/C++, but for the time being, I've been conceptually designing the process. ...
0
votes
0answers
18 views

Formula to get the sui length of Blackman Harris Window

I was reading that I can to obtain the (N) length of Window function. if I have defined: ...
1
vote
1answer
47 views

How to Combine FFT Overlap Results?

We currently have C/C++ FFT code with Hann Window function support. For a large data (over 10,000) we want to split this into 1024 samples with 50% overlap. For each 1024 sample, we window and fft. ...
0
votes
1answer
27 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 ...
0
votes
2answers
63 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 ...
2
votes
0answers
80 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 ...
0
votes
1answer
44 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 ...
0
votes
2answers
35 views

Reconstruction of a windowed signal (specifically Hamming windowed)

Wondering about the resconstruction of the input signal when an overlapped windowing function has been applied. I'm specifically applying a Hamming window with 50% overlap and I wish to reconstruct ...
0
votes
1answer
32 views

Sensitiviy and Resolution in Windowing Functions

When I read the article Windowing Functions, there are two terms that are does not understanding them well, sensitiviy and resolution. I looked for this two terms on the web, And I conclude that ...
0
votes
2answers
32 views

Discontinuity at the edge of Chebychev window

I am using Chebychev window for its narrow main lobe. The problem of chebychev window is that it has discontinuities at the edge, and it seems that Taylor window solves this issue. More detail: ...
3
votes
1answer
57 views

What windowed Sinc might be closest to a Parks–McClellan low-pass filter?

In another question on dsp.stackexchange, a statement was made that the output of MATLAB firpm() or firls() for an anti-alias low-pass filter was "close" to the coefficients of a windowed-Sinc ...
0
votes
0answers
13 views

Dolph-Chebychev window and Beam Steering

We have made a Doppler sonar which is comprised of a braodband transmitter and an 8-element receiver arranged linearly. We collected some data at 500 kHz. I would like to steer the beams and apply a ...
0
votes
1answer
147 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 ...
1
vote
1answer
42 views

What is the cause of slow roll off of windowed filters

Exactly why using the of windowing function, such as Hamming or Blackman, causes a slower transition to stop band? Everywhere it is mentioned just as an obvious fact that this happens but I haven't ...
0
votes
0answers
39 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
1answer
42 views

Subsampling data: terminology

I'm writing software and the data reporting frequency is slower than the acquisition cycle, so effectively sub-sampling is being done. Different data types require different methods of sub-sampling ...
0
votes
0answers
60 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 ...
1
vote
2answers
142 views

Computing main lobe width of Hamming window in Matlab by plotting

I wanted to verify the fact that main lobe width of a Hann/Hamming window is twice that of a rectangular window, using Matlab. I computed the analytical expressions for the respective frequency ...
0
votes
1answer
84 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 ...
2
votes
1answer
208 views

How should I select window size and overlap?

I'm new to DSP and I have a wav file with a number of different frequencies playing at different volumes. I'd like to plot the power of the 350Hz frequency signal at each point in time. The source is ...
0
votes
0answers
25 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
1answer
38 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 trecording on analog cable.
1
vote
1answer
75 views

What is the relation of the transition band's width and the filter order for the FIR windowing method

When designing an FIR filter using the windowing method, how can one estimate the filter order ? It's obvious that the type of window and the transitions band's width has some effect on the order.
5
votes
2answers
137 views

Why are there so many windowing functions?

Many windowing functions are listed here in the Mathematica documentation. I tried using a few to reduce leakage when computing a Discrete Fourier Transform. From what I could tell it made little ...
1
vote
2answers
73 views

Fixing my FFT Plot

I'm trying to plot my FFT of File. This i my result. I made my FFT application: I want to obtain something very similar to plot of WaveSpectra, please tell me my mistakes.. My FFT The result from ...
1
vote
2answers
138 views

Is it necessary to apply some window method, to obtain the FFT? Java

I read that the window is needed to apply filter (Low Pass, High Pass, Band Pass or band Stop), but not for the FFT. 1. What advantage does apply a window or disadvantage does not apply? 2. What ...
0
votes
0answers
69 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
1answer
75 views

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

(cross post of SO: http://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 ...
2
votes
1answer
170 views

STFT: why overlapping the window?

For STFT, we impose window of certain size onto the original signal, then we perform fft on each window. The uncertanty about frequency and time is determined by the width of the window, however, I ...
0
votes
0answers
16 views

Short Time Fourier, What happen when window is outside the sample points

I am trying to compute STFT on the following signals..... such that they have 15 cycles of (1/50) second sine wave, with Fs=10000. The algorithm for STFT I am using is :STFT algorithm Then I set ...
0
votes
0answers
70 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: ...
1
vote
2answers
99 views

Where do we use windowing?

I have been studying about the box window and am unable to understand one thing, do we first sample a signal and then window it resulting in up-scaling or downscaling, or is windowing a practical case ...
-2
votes
1answer
153 views

FFT on Hamming Window Function [duplicate]

I want to apply Hamming window function the Audio sample then find out its fft.. ...
-1
votes
1answer
48 views

Hanning Window Formula - Matlab didnt work

Im trying to do the Hanning Window manually but didnt work, what Im doing wrong? t=[0:.1:10]; x=.5-.5*cos(2*pi*t/102); plot(x); Not sure why I cant obtain the ...
1
vote
1answer
103 views

Spacing between gaussian windows for STFT

I'm computing discrete short time Fourier transform. Data is split into overlapping chunks and gaussian window is used for each chunk. However, I'm not sure how much overlap there should be between ...
5
votes
1answer
500 views

Is it customary to correct for the gain of a window?

Consider how the Hanning window is defined: 0.5 - 0.5 * cos(n*2*Pi/(N-1)) By this definition, it has a gain of 0.5, which is simply the average value of the ...
0
votes
1answer
31 views

Overlap-windowing vs preserved information

When windowing non-overlapped segments of data stream, part of the data is being "ignored" at the boundaries of the segments due to the tapering of window functions (non-rectangular). Some information ...
0
votes
2answers
104 views

Why are window functions used when calculating spectral estimates, really?

Having just read the rather long article on Wikipedia about window functions, I still do not see the mathematical point in using window functions when calculating spectral estimates (using e.g. ...
-1
votes
1answer
159 views

Slepian or DPSS window

I am planning to use Slepian or DPSS window in my application where I want central lobe to be concentrated and also have low bandwidth: ...
0
votes
1answer
42 views

Using the windowing Method

I'm trying to write a C program that can get the PSD of an recorded audio file, I'm using for the fftw3 library. I wrote a program that calculate the PSD so far ...
4
votes
1answer
734 views

How to compute the main lobe width of generalized Hamming windows (i.e. Hann, Hamming, etc.)?

Is there a way to compute the main lobe width of windows of the generalized Hamming window family (i.e. Hann, Hamming, etc.)? By main lobe I mean the first zeros left and right of the center of the ...
3
votes
2answers
223 views

At which point in the signal processing chain to use Hann Window?

I have a question about signal processing. Experienced with embedded design and code, but DSP is in new territory. Thus far I am using the CMSIS DSP library functions, which are working well. I am ...
1
vote
1answer
202 views

Improve spectrogram appearance using windowing functions MATLAB

I have a program which plots data obtained in a NI USB DAQ realtime to a spectrogram plot using the surf function. I'd like to improve the appearance of the plot using some sort of windowing function. ...
1
vote
1answer
458 views

How can I load a wav file, split it in frames, apply different filters do different frames and then recombine the filtered frames into a single file?

I'm working on a wav audio file using MATLAB. What i would like to do is: load a wav file and divide it into frames of the same dimension filter these frames (with a different filter for each ...
3
votes
2answers
94 views

Window functions with rippleless spectra

On Wikipedia I found the Hann-Poisson window, and the article claims the spectrum is smooth, but it isn't theoretically smooth, as it turns out. In practice you achieve partial smoothness by jacking ...
0
votes
3answers
397 views

What exactly is the effect of a Hann Window on the FFT output?

In the code I am trying to understand, there is an usage of Hann window multiple times (There's overlapping frames, the size of each is 512 and the overlapping factor is 75% so each time we capture ...
1
vote
3answers
311 views

A question about spectral leakage

I have read about spectral leakages in other posts here. From what i understand, it occurs because you dont have an integer number of time periods in your sampled data. By default a rectangular window ...
-1
votes
2answers
168 views

Spectral leakage - understanding the integer number of cycles while windowing

I am reading tutorials about windowing and have read following sentence: For an integer number of cycles, all smoothing windows yield the same peak amplitude reading and have excellent amplitude ...
0
votes
2answers
93 views

is there a mathematical relation between percent overlap and window length or amplitude

I am trying to plot short time energy of an utterance with percent overlap as an input variable. As I referred to the short time energy equation it can be represented as square summation of ...