# Questions tagged [fft]

The fast Fourier transform is an efficient algorithm to compute the discrete Fourier transform (DFT) and its inverse.

2,077 questions
Filter by
Sorted by
Tagged with
433 views

### What is the proper way to implement a real time spectrogram?

I am trying to implement a real time spectrogram and I am not sure that I am implementing it the right way. First I decided to use Matlab, I was taking a short recording of lets say 0.1 seconds and ...
41 views

### Non-physical peaks from the Fourier transform process

I was doing some reading on transient signals. When transient signals is analysed by DFT, there are some non-physical peaks from the Fourier transform process (on the figure below). I understand this ...
2k views

### Difference between 2D DFT's and 1D DFT's of Linearized Matrices

I have recently left the safe and easy MATLAB environment and begun to use CUDA-C/C++ for image processing. Since CUDA doesn't allow 2D arrays to be passed into kernels I am now used to linearizing ...
74 views

### Using a Butterworth high-pass filter together with Fast Fourier transform

I have a signal and I'm interested in identifying the dominant frequencies greater than 1/3600 Hz. To do this, I use Fast Fourier Transforms and examine the locations of the peaks in the frequency ...
95 views

### Inverse FFT of complex exponential with time delay - window leakage?

I am working in MATLAB with a frequency domain signal that is a sum of complex exponentials, e.g. $X(\omega) = \sum_i e^{-j\omega t_i}$ where $t_i > 0$ $\forall$ $i$ I expect the output to ...
51 views

### Is RMS of a sound wave good measure of loudness?

I'm not talking about FFT, just the raw sound wave and the RMS of it. Thanks
940 views

### The frequency response function (FRF) fails to detect the antiresonance of a system

I am trying to identify a vibrational systems by computing the frequency response function (FRF) of the system when a chirp signal is applied to its input. After comparing the FRF computed and the ...
443 views

### Efficient calculation of correlation function every $N^{\rm th}$ point

I would like to calculate a long correlation function of length say, 1e6 points. I have a prior knowledge that the correlation peak will be in point k*1000. Is there an efficient way to apply this ...
22 views

### Using a Multirate FFT system to analyse audio

I am trying to implement a multirate fft system to try and achieve frequency windowed analysis of audio. Say I have managed to get an impulse response of a system. This impulse may be say one ...
656 views

### $1/n$ octave complex smoothing

An excellent answer to this post explains how to do $1/n$ octave energy smoothing and mentions complex smoothing can be done as well, but it's tricky business because of phase wrapping. How is phase ...
44 views

### PyAudio recording is taking much longer than planned

I'm trying to record sounds in chunks using PyAudio for 15 seconds, chunk size being 1024 and sampling rate is 1024 *40. I understand the number of chunks would be (time of recording) * (sampling rate)...
42 views

### Partitioned overlap-add convolution - strange behavior at buffer boundaries

I've implemented a convolution reverb that operates in real-time, one audio buffer at a time (using FFTS for the fft bits). However, there's some strange behavior at the start of every buffer. ...
1k views

### How do you save/convert an image to be in the frequency domain?

Quick Note: I don't believe this is a subjective question... however if it is I will gladly modify to be more objective In ImageJ, if I take the FFT of an image, how can I save this new frequency ...
67 views

### Methods for aligning FFT bins with an FSK signal

Say I want to demodulate some FSK modulation. My (novice) understanding is a pretty good way to do this is by taking the FFT, with the length chosen such that the bin spacing is equal to the tone ...
60 views

### Prefactors computing PSD of a signal with numpy.fft VS. scipy.signal.welch

The power spectral density St of a signal u may be computed as the product of the FFT of the signal, ...
81 views

### What is the meaning of the length of diagonal lines in FFT

I am relatively new to FFT analysis of images and have a question about them. I like to think I understand the basics but many of the properties shown in a FFT image are beyond me. My main question ...
25 views

### Audio Spectrogram / FFT - Amplitudes and Missing Frequencies

I have an input wave which I want to transform to a spectrogram. In the example code in a previous question , I get the result, shown below, for a pure sine wave 440Hz. From this video, if I do an FFT ...
13 views

### Could kernel density map be recovered with known kernel function?

I'm confused whether a KDE map could be recovered with known kernel function. The KDE map (with no noise) generated with fast fourier trasnformation (FFT) could be recovered on very high accuracy (<...
40 views

### Understanding convolution of Chirp z algorithm

I dont´t understand how works the convolution part of the Chirp z. I understand how the DFT is transformed \begin{align*} x(k) = \sum_{n=0}^{N-1} x(n) W_N^{kn} \end{align*} to this expresion: \...
40 views

### Why are low frequency peaks not sharp in scipy fft?

I am using numpy/scipy to plot graphs of sine waves. frequencies at 15 Hz or higher give nice, sharp peaks, but at lower frequencies, the peaks are smeared and the actual peak frequency can't be seen ...
2k views

I wanted to know the difference between split radix and mixed radix algorithm. I also wanted to know what is the difference between radix 2 ,radix 4 and radix 8 FFT
45 views

### How to achieve a smoothed frequency phase response with no outliers

I have two sampled signals, which I then perform wavelet analysis on, by synthesising the Filterbank, perform the dft on each kernel, and the dft on the sampled signals, and multiply together. ...
59 views

### Irregularities in tone generated using FFT data

I am implementing a simple program to generate tone in MATLAB using FFT/iFFT by zeroing all frequency bins except for the one frequency that I'd like to generate a tone in. Sampling frequency is ...
77 views

### Matlab: Different 1-D FFT results with and without zero-padded

Recently I am implementing FFT with C code. So I use Matlab for algorithm verification. As Radix-2 FFT was chosen, I've learned that zero-padding technique could help to reach 2^N limitation without ...
147 views

### Estimation of filter response

If I have samples of input say x(1:500) and it passes through FIR filter with 9 taps and some unknown coefficients. The output y(1:508) is also known. The aim is to estimate the filter response in ...
81 views

### Matlab FFT not producing symmetric spectrum

I am plotting a FFT of a sampled RC pulse but my resulting spectrum isn't symmetric - it's offset. ...
62 views

### Why the spectral coherence is unity for all frequencies between single-frequency time series and itself

In the example below, I am plotting the coherence between time series and itself. The time series do has one frequency.The coherence magnitude was one for all frequencies. I wonder why it is not zero ...
46 views

### What determines peaks in FFT?

I ran FFT on three audio files and found that the results for some have more peaks than the other. Could anyone give me any conceptual explanation as to what determines these peaks? Below are plots of ...
40 views

### What is the difference between the V-OFDM and OSDM

I am trying to understand the difference(s) between V-OFDM (Vector Orthogonal Frequency Division Multiplexing) and OSDM (Orthogonal Signal Division Multiplexing) which are used as a multicarrier ...
26 views

### Skew measurement with phase deviation

I am calculating the standard deviation of skew (= phase/2*pi*fin) from the 1000 monte carlo runs of the following code. In the y0, there is no input skew., but in y1 there is a skew present. Its ...
78 views

### FFT processing of IQ data

My time-domain sampling rate of IQ data is Fs. Matlab FFT assumes spectral bandwidth is Fs/2, per the Nyquist criterion. I understand that IQ data has bandwidth of Fs. How do I do FFT of such IQ data ...
106 views

### Signal processing using numpy python

To process a .wav audio file with numpy (using fast Fourier transform algorithm). I want to process an audio signal at a particular interval with a sampling frequency 44100hz and sampling rate of 20ms ...
129 views

### PSD subtraction

I am interested seeing the difference between two power spectral densities (PSD) as a noise reduction exercise The blue line is the psd of my signal, and the the orange line is the psd of the ...
684 views

### Distribution of energy in frequency bands

On my wav-file (music), I do a short-time Fourier transform (STFT). I have spectrum, which spans from $0\textrm{ Hz}$ to $f_s/2$. I took out the range between $1$ and $1000\textrm{ Hz}$, which I ...
26 views

### LOW SIGNAL NOISE RATIO FFT

I am processing an audio signal with CS4244 codec at 24 bits and 48kHz. Every 2048 samples the FFT is calculated and its amplitude. Without input signal I get FFT values ​​close to 30dB. With maximum ...
514 views

### Curved noise floor and ugly unexplained peaks after FFT

It has been so long since I studied this at University, so I'll better ask here if I'm doing something really wrong here. I'm using a USRP frontend for L1 band surveillance. I want a 20MHz bandwidth, ...
6 views

### Noise evaluation using piezo sensor

I'm not familiar with piezo (contact) sensors for measuring vibrations/noise. Suppose an object produces sound up to 5khz in frequency, then in order to capture this information my piezo sensor would ...