Questions tagged [fft]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
5 views

How to remove sidelobes while computing frequency from fft?

I am currently operating in vhf band AND trying to detect frequencies using Fast Fourier transform thresholding method. While detection of multiple frequencies , i received spurs(May not appropriate ...
0
votes
2answers
35 views

What's the difference between calculating the FFT of a constant sound for 5 seconds versus every 1 second and taking the average?

I'm interested in learning the frequency spectrum of a constant sound. However, there is background noise. My plan is to record the sound for 1 second, take the FFT, and then doing this 5 times and ...
0
votes
1answer
31 views

FFT and Power Spectrum Normalization

On many websites, including MathWorks, it was suggested to normalize the fft spectrum (MATLAB or numpy) by dividing it by the total number of samples ($N$). For a sinusoidal signal, for example: $$x(...
1
vote
2answers
69 views

Understanding the phase in DFT

Although using regularly the FFT algorithm to compute DFTs, I don't really understand how the phase part works. e.g. in Matlab: ...
0
votes
1answer
18 views

Power and Energy of an Audio file

I have a question about calculating the power and Energy of an audio recording. I have imported a waveform of an audio recording in WAV format into Matlab and then calculated the energy and power in ...
0
votes
2answers
30 views

(FFT) Is it good practice to ignore each bin's phase when characterizing a signal

I have been recently working with the FFT and realized that each frequency within a bin corresponds to a phase. I understand why a phase that corresponds to each frequency is needed because it allows ...
0
votes
1answer
27 views

What does imaginary Component of a bin's phase in the Fourier Transform mean?

I have been recently working with the FFT and realized that each frequency within a bin corresponds to a phase. This concept I have no problem with because if you wanted to construct the summation of ...
0
votes
1answer
17 views

psd in matlab, problem with the coefficient $\frac{1}{2\pi}$

Using the fft to mimic the Fourier Transform I have this question. The definition that I use for the PSD $S(f)$ is: $S(f)=\frac{1}{2\pi}\int_{\infty}^{\infty}exp(-i\tau2\pi f)r(\tau)d\tau$ where r(t)...
0
votes
0answers
20 views

Classifier for detecting abnormal noise using FFT

As a simple machine learning application for quality evaluation, I want to detect abnormal sound in a product. A good product would make a signature humming sound, a bad product might make noises due ...
2
votes
6answers
573 views

Clarification on defining FFT bin sizes

When reconstructing the frequency domain for an FFT, what is the most self-consistent way to do this -- i.e. how is it best to define the bin width, $\Delta f$? For example, previously I thought it a ...
0
votes
1answer
34 views

Unexpected frequency components found in Periodogram

I am trying to make sense of Digital Signal Processing with the help of R language. So, the issue came up when I tried to create a periodogram for a simple sine wave. The regular periodogram shows 2 ...
0
votes
1answer
67 views

How to group similar patterns together that are shifted along the x axis?

I have a set of time series plots that are shifted along the x-axis. I am looking for an algorithm using which I can group them together. My end goal is to average them. While reviewing the ...
0
votes
1answer
39 views

Is the sum of all FFT bins from Audacity equal to RMS amplitude?

Say I open an audio segment with Audacity. Then I perform a size 4096+ FFT with a rectangular window. The program outputs bin magnitude values in dB. If I add them all together like this: sum = 10*...
0
votes
0answers
23 views

how to cut off frequencies above 10 Hz with Welch method

This is the first time I have worked with any code so I am rather unfamiliar with all the lingo and processes involved. I am trying to convert a signal to the frequency domain and want to find the ...
0
votes
2answers
31 views

The DC bin of an FFT should be the mean of all the other bins in the spectrum, why does the FFT produce 0?

I am experimenting a bit with FFT's. From what I have read the first bin of an FFT is called the DC bin -- that is it is the mean of the other components in the FFT. I have also read that it should be ...
0
votes
1answer
26 views

Measuring group delay through a linear phase filter

I'm having a difficult time wrapping my head around a phase/ group delay problem and it corresponding to where you start sampling so I built up a system to test some of these issues. The system passes ...
1
vote
1answer
20 views

Should you scale the FFT bins by $1/N$ where $N$ is the number of points in a transient signal?

I am going over the following tutorial. In section 2.1 the author says To calculate the $N$ point FFT the Matlab algorithm 1 can be used. Here, after taking the FFT, its magnitude is calculated ...
2
votes
1answer
66 views

MATLAB FFT Amplitude

I am trying to understand FFT, DFT through Matlab and I am fairly inexperienced in all of these. I have a time vector t and a corresponding simple sine wave x = 0.25*sin(t). Now I would like to view ...
1
vote
1answer
22 views

Is fft2 in MATLAB unitary? Some differences happen

I meet a problem when implementing fft2 in MATLAB. The question is I try to simulate the realistic measurements $Y = |FCXF^H|^2$ - the intensity of Fourier domain of object $X$, where $F$ denotes ...
0
votes
2answers
68 views

Have you seen these kind of DFT artifacts?

we've been working with the Spiral DFT Implementation on an FPGA and managed to get it working. Unfortunately we see these strange artifacts and have no idea where they come from. Our input is a ...
0
votes
1answer
37 views

Using fourier coefficients to reconstruct data in matlab

When doing a discrete fourier transform on some data using matlab's fft function, its output is a set of fourier coefficients but I was wondering how do I go about converting these into an and bn so I ...
1
vote
0answers
31 views

When plotting the cosines of the phases of some sensors, I got an interesting plot

I have a laser that I modulate at some frequency, typically 1250 Hz. I have a sensor that tracks what happens inside a reactor when it's illuminated. I am doing Fourier analysis on both the laser ...
0
votes
0answers
10 views

How to preserve amplitude of original data in Lomb-scargle periodogram

To my knowledge, peaks in Lomb-Scargle periodogram does not preserve the amplitude of the original data. It just shows how much variance each frequency explain about the original data. For example: ...
-1
votes
0answers
13 views

Autocorrelation of vector of images

I have a set of images (think a ball getting bigger and smaller). I want to assess the periodicity in this string of images (each data point in my signal is an image). How can I go about doing this in ...
0
votes
0answers
14 views

cpsd calculation help

I have several channels from where I am reading sensor signals in time domain. I have 9 channels where I am reading time domain signals from each and every channel for 10 seconds. Now if I perform ...
0
votes
1answer
16 views

Does FFT magnitude of recorded sound depends on the sound card used?

Based on some reading, here's my understanding of how sound recording works: Microphone outputs a voltage based on sound pressure. The microphone voltage is amplified and the amplified voltage goes ...
0
votes
0answers
12 views

How to preserve amplitude of original data in Lomb-Scargle transformation?

I have unevenly sampled data. I tried FFT, and failed. I tried Lomb-Scargle (LS) transformation, and it succeeded. Here's what I understand about FFT vs LS. Correct me if I'm wrong. FFT requires ...
1
vote
1answer
59 views

Overlap Add - which length to use?

I am doing realtime audio. Let's say I have a signal $x(n)$ which is passed in blocks of 512 (siobuffer) to the program filter/FFT method. Within this block I want to convolve the signal with the ...
0
votes
0answers
21 views

Dual FFT - difficulties extracting phase

I am performing dual FFT analysis on a system. 1) I generate a Log Sine Sweep signal and save it as my reference array 2) I then produce an inverse filter to correct for amplitude and save this as ...
0
votes
0answers
16 views

Question about FMCW range-velocity plot

I am working on plotting range-velocity heatmap of the receiving FMCW signal. I actually have already plotted. However, I do not really understand the mapping relationship between Doppler FFT bin and ...
0
votes
0answers
30 views

Double Sided FFT Power Spectrum on Matlab

I'm trying to plot the power spectrum of a signal but I cannot understand clearly the units of the amplitude. ...
2
votes
1answer
43 views

What should be my sampling frequency?

I have an accelerometer that I am reading the x, y, z values for m/s^2. I've written up my code in Python as follows. ...
-2
votes
0answers
37 views

Can I find FFT for signals with odd number of element

I am said to divide signal into two parts even and odd numbered {index/value of n} .What if number of elements in x[n] is odd out will I divide into two networks?
0
votes
1answer
26 views

Phase measurement with FFT for DMM Keithley 7510

I am currenly working on a measurement driver for the DMM Keithley 7510. I implemented a harmonics measurement using FFT (from MathNet library). First I simply sample my input voltage signal and ...
0
votes
0answers
43 views

How to find frequency and corresponding time for an audio signal?

I want to read in a sound file and get the frequency at each time interval of the signal. I thought that the best way to approach this is by applying FFT to small chunks of the signal. Because FFT ...
0
votes
0answers
31 views

Window function correction when using frequency domain likelihood

I was wondering if someone could tell me or point to resources which discuss what kind of of windowing corrections factors one should use when using a frequency domain Whittle likelihood for spectral ...
0
votes
0answers
36 views

FFT command line application?

Are there any command line programs for Windows, preferably free and stand-alone, which can report the peak/strongest frequency within a given range of frequencies? I need something like this to ...
1
vote
1answer
38 views

Fourier transforms and time shift

There is probably something trivial behind this, but I am missing something. I need to create a stationary random time series data v(t) which is the the sum of another time series u(t) and u(t) with a ...
0
votes
0answers
18 views

Why do I need this modulo tweak to bandpass filter an I/Q signal

I have an I/Q signal with $f_c=2.06\text{MHz}$ and $f_s=50\text{KHz}$. I am looking the first 256 samples of the signal, which is a NumPY array of complex numbers. If I do a spectrogram of this ...
0
votes
0answers
20 views

Detecting changes in signal due to server delay

I'm currently working on an application that can be used to determine when a signal changes due to a server delay. Essentially, I have an API that is used to output data to a UI. However, for reasons ...
-1
votes
2answers
64 views

Why is the fft magnitude spectra of sine not symmetric?

I thought that the magnitude spectra of real signals was symmetric. When I take the absolute value of the fft of a sine wave the result is not symmetric. There seems to be a peak at the first ...
1
vote
1answer
61 views

Mathematical description of the ACF using fft2

I computed the acf of an image with the following code: ...
0
votes
1answer
29 views

Comparison of results own implementation and python signal.welch

I am trying to replicate the output of Python's signal.welch function to make an estimate of the PSD from an FFT calculation. I don't want to use the built-in function to understand better what is ...
1
vote
2answers
72 views

Interpolation of estimated frequency between fft bins: what about phase?

I am developing an additive re-synthesier, which involves identifying partials from FFT frames. Partial identification requires amplitude peaks. The simplest way to do this is to just look at the ...
0
votes
3answers
53 views

fft and inverse fft error size and applying impulse response matlab

I have a signal called noise. I am using the following command to calculate the mean squared error after fft and inverse fft process: ...
0
votes
1answer
32 views

Interpretation of FFT result when frequency is an exact multiple of frequency bin

My FFT spectrum analyzer works fine in general except when the frequency is an exact multiple of the frequency bin. In the pic at the left the frequency is 5999Hz and at the right 6000Hz. The lines ...
0
votes
0answers
37 views

How do I narrow the frequency from a time domain Gaussian signal?

I'm trying to get a frequency domain Gaussian signal that starts from 180.045 THz and ends in 180.65 THz. This is the matlab code I used to get the FFT of time domain Gaussian signal: ...
0
votes
1answer
44 views

FFT of a signal with 0 added between samples

I'm having a rough time doing the following question from a HW. Given a sequence of your choice, what happens to the DFT if we add a 0 between every sample? I.e. if we have x[n] = [A,B,C], we turn it ...
-2
votes
0answers
37 views

Retrieve covariance matrix from array of fft

I have 10000 power spectral density vectors of 64 frequency bins each. My input is therefore are 10000x64 matrix of real values. Those are obtain from fft of time series of temporal signal I don't ...
1
vote
1answer
58 views

Method for determining probe angle by analyzing skewed sine wave

I've got a fun problem and would be curious to get feedback on how some of you would go about solving this. Imagine I have a probe and am scanning the surface of some material. This material surface ...