# Questions tagged [fft]

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

387 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
422 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 ...
761 views

### How to choose a windowing function when performing a Chirp $\mathcal Z$-transform?

I've got some data sampled at 32 Hz. The only interesting stuff is happening between about 0-8 Hz and I've got to do real time batch processing and detect events with a delay of no more than a second. ...
2k views

### Filter size vs. FFT size and Overlap add

First of all I would like to say that : I'm new to DSP and in a "learning curve" hence the "basicness" of my questions. I've read as many posts/articles as possible on the internet but still need "...
323 views

### Matching LPC frequency response to raw sample data frequency response

Background: The intention is feature/formant extraction from speech input. I have used an FFT on raw samples in the past and have done simple peak picking from a weighted average of frequencies over ...
2k views

### What is the right way to extract particular frequency phase information from FFT?

Signals acquisition: Two proximity sensors are positioned Orthogonal to each other. These would be measuring the vibrations of a rotating shaft. Problem: Each of these 2 signals has two dominant ...
591 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 ...
1k views

### STFT overlap add method - What am i doing wrong?

i am trying to implement a short time fourier transform of an audio signal to do some filtering (subtract another stft signal using spectral subtraction). I am using a hamming window function with 50% ...
351 views

### Extra 'fingers' found in graph after applying FFT in MATLAB

I am currently working on the FFT function in MATLAB. In this function, i require a 1024 number of data Time Domain plot and produce a 400 number of data Frequency domain plot. After applying the FFT ...
54 views

### Solving the PDE of a signal in an optical fiber

Disclaimer Please let me know if this is not the right place to ask this question. Disclaimer Part 2 I have no background in signals. My focus is in mathematics. In my programming class, we are ...
180 views

### Phase Modulation and Intermodulation Anomaly ? (Spectrum plots inside - **Updated**)

I have a MATLAB script for modelling a two tone signal (a sum of two sinusoids) going through a non linear transfer function (such as an amplifier). The amplitude of a signal is amplified non linearly,...
3k views

### What's spectral “tilt”?

I am looking at article Speech-in-noise intelligibility improvement based on spectral shaping and dynamic range compression. In paragraph 2.2 the article mentions "tilt" of the spectral envelope. The ...
3k views

### Correlation Using FFT / IFFT (Convolution in Frequency Domain) in Java

I try to find about the delay between two audio files using Cross Correlation in Java. I've already done this algorithm so far that i get a idea about how many samples is the delay. FFT x1 -> Zero ...
404 views

### Why are the frequencies associated with the STFT bins not representative of the energy?

I'm experimenting with a 30 Hz sine wave and I want to extract the frequencies of this, and have implemented the algorithm to do so. This gives a correct reading, well, gives 29 Hz. I'm now wanting ...
330 views

### choosing windowing function for audio signal processing

Currently I am working on chord recognition, and get confused on several aspect. One of them is choosing windowing for reduce the spectral leakage. from what I read, hanning/hamming function is a ...
5k views

### 1/3 octave spectra from fft

I have got a signal in frequency domain. This is a frequency response function from software, so I can do nothing about it and have to leave it in frequency domain. I want to transfer the data to 1/3 ...
258 views

### Points of interest in a spectrogram

We have several audio tracks, all of which are different versions of the same track under one type of distortion: the speed of the track is increased by a constant factor K (hence frequences are ...
137 views

### Compensate for standard deviation loss

I am not sure if this question will be a little off-topic on this forum, that I will give it a try anyway, since it implies signal process arguments. By using ...
752 views

### What is the proper way to select the time-bandwidth product when doing multi-taper spectral estimation?

Frequently programs for calculating the spectrum of a signal using the multi-taper method require the user to specify the time-bandwidth product. What considerations must be made when selecting the ...
375 views

### Discrete Fourier transform in a multidimensional space

I want to measure the frequencies at which a point oscillates in a multidimensional space, let's take the example of a point on a 2d-surface. For now, I naïvely split the signal in two, along the ...
791 views

### calculate root mean square, ratio of power, constant false alarm, … of a signal

I am new to Digital Signal Processing, and am reading a paper. I don't know how they can extract some features from signal, like root mean square (RMS), Constant False Alarm Rate - CFAR, Mean Value ...
943 views

### Problems Using FFT to Compute Impedance in a Model Neuron

I'm a neuroscientist currently investigating the resonance properties of a single neuron model that a colleague and I have constructed. The language we code in is Julia, which I hope is similar enough ...
42 views

### Serial filtering using FFT

lets say I have 3 audio filters for a realtime DSP application. For simplictity each has length 256 (as well as the input signal). The filters should work in series. Starting with filter IR h1(n) and ...
67 views

3k views

### Calculate 1D Power Spectrum from 2D Images

Imagine satellite images, these are irregular sampled in X and Y direction and the shapes are of course are oddly off. We now want to estimate a 1D power spectrum from the whole image to estimate the ...
191 views

### How to iplement fast DCT-III (for inverse of DCT-II) using FFT or iFFT

I have to implement DCT-II and its inverse which is equivalently given by a forward DCT-III. All from real to real. I have been checking some paper where it is specified how to do it. However, I ...
291 views

### How to make sense of audio file's $\textrm{dBFS}$?

I'm trying to build a song visualizer using the FFT method. When I analyze the audio, I get the $\textrm{dBFS}$ value for each frequency range. From my understanding, $\textrm{dBFS}$ is in the range ...
94 views

### Calculating Phase Response for 2 microphones given the input

I want to measure and compare the phase response of two identical microphones. To do this, I have a pressure chamber, which allows to apply the same pressure to both microphones. I apply a sweeped ...
1k views

### Aquila DSP C++ Library - Wave file FFT analog frequency off by factor of 4?

I'm working with the Aquila C++ DSP library. I'm computing the FFT of a wave file (16 bit depth, single channel, 44100 sample rate). I am using a window size of 16384 to calculate the FFT spectrum. I'...
95 views

### Low-rank approximation of the STFT matrix : good audio compression technique?

I recently heard about this interesting math tool: With a matrix $A$, compute the SVD ($A = U \Sigma ^tV$ factorization, where $\Sigma$ is a diagonal matrix containing the "singular values") Keep ...
4k views

### Interpreting the FFT results of a structural vibration problem

System: Cantilever beam type models, with an accelerometer on the end. The beam base is excited at various frequencies in harmonic fashion on a shake table. This results in vibration in the beam. The ...
505 views

### How do I interpolate between bins on an FFT in python?

I have four frequency peaks, which I have after applying FFT. Now I want to know precise values of these frequency peaks. there are different interpolation methods. How can I use this method of ...
239 views

### MFCC help: Same sound, different coefficients?

Problem: I'm getting totally different MFCC coefficients for identical and near identical sounds like several finger snaps or several desk taps. What am I missing? I thought since the timbre doesn't ...
201 views

### Noise analysis with periodogram. problem with different resolutions

I don't understand what happened in my simulation. I would like to perform a trade off between 2 ways to estimate power in frequency bands. I want to detect spurious frequencies. First method: I ...
87 views

### Signal Relationships and Conversion: Transforming one Signal into another?

I'm trying to relate a near shore tidal signal (point A) to 3 points along a long model boundary (points B C D). I want to possibly have a relationship between B C D with which we can convert A ...
126 views

### How to properly express periodogram over analog frequency?

Assume a signal $x[n]$ with $N$ samples and its $N$-point FFT $X[k]$. Assume also the simplest power spectral density estimator: $$S_x[k] = \frac{\left| X[k] \right|^2}{N}$$ With this estimator, ...
2k views

### Phase of an image in the frequency domain

The following picture is amplitude and phase of an image filtered using Gabor filter in the frequency domain. I'm trying to reproduce the results, I'm getting valid results for the amplitude I think, ...
874 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 ...