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
1answer
52 views

Why am I not getting the intended coefficients in this 2D Fourier demonstration?

I am trying to demonstrate how the 2D Fourier decomposition of an image works with Matlab and a very, very simple example. I create a 4 x 4 pixel image with cosine basis vectors as such: ...
0
votes
0answers
34 views

Plot Frequency Spectrum of Binary Sequence in Matlab

I am new to Matlab and I am trying to implement a section of a published paper, the basic idea of the part that i am implementing is to show the frequency spectrum of camera aperture. The shutter ...
1
vote
2answers
63 views

How to deal with the mirrored components of a FFT? And another question

I'm trying to simulate the behavior of my FFT spectrum analyzer, I am using Mathematica, but my questions are more conceptual than technical implementation of code...I hope. If we consider a simple ...
1
vote
1answer
36 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. ...
2
votes
1answer
114 views

Is discrete cosine transform differentiable?

Is DCT differentiable? I.e. is $\frac{\mathrm{d}\mathrm{DCT}(x)}{\mathrm{d} x}$ defined? I've seen a few implementations in automatic differentiation software packages, so I suppose the answer is ...
0
votes
1answer
43 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 ...
0
votes
0answers
23 views

Time gating of FFT for audio Measurements or Multi Time Windowing

I am learning more about DSP specifically for audio measurement purposes. I can an app, where I can create a log sine sweep from start frequency to end frequency over a certain length. I can perform ...
0
votes
1answer
32 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 ...
14
votes
5answers
11k views

What are the problems with designing an FIR filter using FFT?

I'm trying to get an understanding of the relationship between an FIR filter designed from "first principles" using a filter kernel with convolution, and a filter designed in one of two ways using FFT ...
0
votes
0answers
21 views

Causal bandpass using fft?

I would like to take a time series of several spikes or narrow Gaussians and bandpass using an ift/ifft together with a frequency domain mask to create a series containing band-limited spikes. This is ...
0
votes
2answers
126 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 ...
0
votes
1answer
48 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. ...
0
votes
0answers
29 views

How to generate wireless O-QPSK modulated signal in Matlab?

I am trying to create a small simulation where I would need to transmit a wireless signal from one wireless node to another and then transmit one more message back to node 1. Considering this is LR-...
0
votes
0answers
24 views

How to compare two 802.15.4 O-QPSK modulated digitals signals?

I am working on wireless sensors project and I am trying to simulate a transmission between two nodes. So let's say I have two nodes which transmit the message to each other, i.e. node 1 transmits ...
4
votes
2answers
568 views

FFT vs DFT Run Time Comparison (Complexity Analysis) in MATLAB

So we were given an assignment to plot the time taken by the FFT algorithm by MATLAB and a DFT algorithm written by me in MATLAB.G The expected output should have been the DFT algorithm following the ...
0
votes
1answer
68 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 ...
0
votes
3answers
602 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 ...
0
votes
0answers
27 views

Comparing two audio (Phone operator messages)

I have this two wavs. Same audible audio differente data. The audios are phone operator messages, so they are always the same. Wav:http://instaud.io/3Ezu Wav:http://instaud.io/3Ezw Using this ...
0
votes
2answers
433 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, ...
1
vote
1answer
97 views

What is a sliding window?

I tried to find the answer by my own but unfortunately I couldn't. Let's say I have the discret values of a signal which is 10s long. What is the FFT which is performed on a sliding window with ...
2
votes
2answers
104 views

Higher-order Kronecker product

I am trying to generate a 2D DFT matrix in matlab, which I need for 2D compressed sensing (CS) problems. Lets say $N_1=8$, $N_2=16$, then according to the requirement of CS, to generate a 2D DFT ...
0
votes
1answer
39 views

multiplication in frequency domain equals convolution in time domain mismatch

We know that a convolution in the time domain equals a multiplication in the frequency domain. As per the article below, https://www.dspguide.com/ch9/3.htm In order to multiply one frequency ...
1
vote
0answers
55 views

FFT of accelerometer signal: How to get a correct amplitude & noise reduction

I’m a student studying on vibration analysis & testing. I’ve performed low level sine sweep test of a simple rectangular PCB with clamped boundary conditions on two ends of it. That test was ...
1
vote
1answer
113 views

How can I get the power of a specific frequency band after FFT?

I need help with my matlab code. I have recorded EEG data and now I want to analyse it in matlab. I want to find the mean power of specific frequency ranges (theta: 4-8 Hz,alpha: 8-12Hz etc.). For ...
0
votes
2answers
866 views

FFT of ecg signals

Could anybody tell me why should zi made FFT for ecg signals? For me it seems more simple to use time-domain, but I saw some ecgs in frequency domain and I don.t know how to interpret the results. ...
0
votes
0answers
32 views

Find a simple sine wave buried within noise, FFT or cross-correlation?

My recorded signal x = s + v, where s = A*sin(ωt) and v = noise. SNR < 1 or ~ 1. So the sine wave is buried under a lot of noise. I need to compare the relative amplitudes of s for each recording ...
4
votes
2answers
313 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 ...
-1
votes
2answers
74 views

Attenuate frequency bin in FFT array resulting in artifacts [duplicate]

Am trying to remove noise for certain frequency bands by attenuating freqeuncy bins in the FFT array. However this results in artifacts to be formed, where there are clicking sounds in between each ...
1
vote
1answer
31 views

Extreme value at start of FFT proccesed signal

I have a signal with frequency of 1000 Hz, and it consist of velocities of an hot-wire. The measurements are taken behind a cylinder as air is blown on the cylinder. When i process the signal of each ...
0
votes
1answer
40 views

Prepare data for FFT

I'm reading the various FFT algorithms and the input consists usually of real and imaginary parts. The real data can be for example an audio input and the imaginary part should be the same sized array ...
0
votes
1answer
88 views

Inverse FFT - synch the phase

Is there any way to synchronise phase of output of inverse DFT in each buffer? When I send the output of inverse DFT to the speaker it sounds nasty. Of course I know the „windowing functions” but it ...
0
votes
1answer
4k views

Finding phase angle via FFT

I am using the FFT to calculate the amplitude and phase of AC cos signal. Regarding amplitude it gives me an accurate result but I get wrong result for a phase: 6 degrees instead of 36 degrees. My ...
0
votes
1answer
106 views

Precompute parts of an FFT on streamed data inputs

I've implemented Radix-2 & Radix-4, DIT & DIF variants of the cooley-tukey FFT algorithm and they perform well on test data. Now for a project, my algorithms will be applied to a real-time ...
0
votes
2answers
125 views

How to determine the original size of the FFT used in unknown OFDM symbol

Given an unknown OFDM symbol consisting of 9144 samples, interested to know the size of the FFT used in the TX/Number of bins. Down-sampling to 512,256,128,64,32 yields the following. Do not see how ...
0
votes
1answer
43 views

What is the result of fourier transform of an image

I am new to computer vision and Fourier transform concept. I have examined some codes. In those codes, an image is performed Fast Fourier transform by using the function ...
1
vote
1answer
63 views

Units for a PSD from square of FT?

If I am looking to do a PSD plot on a signal $x(t)$ with units $m$ then the units I am expecting in the PSD would be $\frac{m^2}{Hz}$ but I can't seem to get this result from the following reasoning: ...
0
votes
1answer
722 views

Verification of all steps needed to extract MFCCs from raw audio data

I need some verification on steps required to extract MFCCs from raw audio as I'm finding that some sources outline them slightly differently. Get raw audio frame Run window function (eg Blackman) on ...
2
votes
1answer
97 views

FFT-based coarse carrier recovery for QPSK

An FFT-based coarse frequency acquisition block is being tested in GNU Radio. The algorithm used can be found on the GOES satellite user manual and is summarized in the figure below. The algorithm ...
0
votes
0answers
17 views

FFT time segment [duplicate]

When I use scipy.signal.spectrogram to calculate the spectrogram, with FFT size 2048, hop length 512, it return a time array which start with 1024 and increase 512 ...
0
votes
1answer
332 views

Filtering odd and even frequencies

I consider a signal of length $N = 2^n$ for some $n$. I want to derive two signal from it, one containing only the odd frequencies and one only the even frequencies. Each of these signals have length $...
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 ...
0
votes
0answers
14 views

Finding subimage using correlation and FFT

For my assignment I have to locate subimages on larger image (simple OCR). I have text and sample image (e. g. single letter) and have to locate it's positions on larger image (which will be converted ...
0
votes
0answers
20 views

How to get PSD from frequency domain representation of time-series data [duplicate]

Let's say we have a realization (time-series data) of a random process. I take fft() of that to get its frequency domain representation. Then how can I estimate the PSD of this random process by ...
0
votes
1answer
276 views

FFT - mixed radix - bit reversal

I wonder what is bit reversal for mixed radix FFT. Is there any algorithm that compute the bit reversal for various mixed radix FFT? Here should be mention why I want that. For example if I have ...
1
vote
2answers
979 views

Extracting peak frequencies using FFT vs. time-domain peak finding

I am trying to compare two processing algorithms that I believe should be producing very similar results. I am processing acceleration signals over the course of the day and we expect to see a ...
1
vote
1answer
113 views

FFT Heart Rate Monitor on Arduino

Part of my project is to build heart rate monitor from Nano and a PulseSensor. I am having trouble working with the Fast Fourier Transform part of the code. This code here is from a library (...
0
votes
2answers
824 views

harmonics of a signal and FFT

Consider that we have a discrete signal of finite length. How can we find the amplitude and phase corresponding to different harmonics of this signal in Matlab? Thanks.
1
vote
1answer
252 views

Image zooming with Fourier transform

I want to go from this image into this one: So basically I need to scale the white square. The authors of the paper claim that this can be done in four steps: zero-padding in real space (image is ...
0
votes
1answer
1k views

Comparing Welch and FFT power spectrum density

Based on previous answers from the forum, I implemented a function to compute the Power Spectrum of a 1D time series. ...
1
vote
1answer
57 views

Break a signal into segments, add them together and then perform an FFT on the result

If you break a 4 second signal into 0.5 second segments, add them together and then perform an FFT on the resultant 0.5 second data. Will the FFT / frequency spectrum be the simlar to an FFT on the ...