Questions tagged [ifft]

NOTE: please use the FFT tag instead. The FFT is a type of algorithm for quickly computing the Inverse Discrete Fourier Transform.

The IFFT is an FFT algorithm with some different initial permutation of data samples, and often an additional normalization, such that the algorithm computes the IDFT rather than the DFT. The FFT and IFFT are always implemented by the same code.

Related topics include , , , .

More information on the IFFT can be found in the Wikipedia article on the FFT

224 questions
2
votes
1 answer

Gaussian wave generation with a given central frequency

The formula for gaussian wave is 1/[sqrt(2* pi* variance)]*exp{-[(x-xo).^2/(2*variance)]}; I have this question in 3 parts: 1) How to generate a time domain Gaussian signal with a given central frequency. (I tried to control it by changing the…
Amartya
  • 123
  • 1
  • 4
2
votes
0 answers

a saw-shaped IFFT in matlab

I have a problem with the inverse fourier transform of a function that is supposed to be smooth, but practically it becomes saw-shaped. The function in Fourier domain is: f(m,n)=im(heavisede(m)+heaviside(-m))/(m^2+n^2). Applying the ifft2 to this…
2
votes
2 answers

Fourier transform of multiple rows

I want to take FFT of 10 measurements. That means I have 10 rows in my data with each row having dimension [1*2000]. In the code below, I am doing in a wrong way. Can anybody tell me what mistake I am making? load('fb2010'); …
Mayank Lakhani
  • 193
  • 1
  • 13
2
votes
1 answer

IFFT: symmetric flag

Can anyone please explain the algorithm of performing the symmetric IFFT in MATLAB? As an example: out_signal = ifft(X,'symmetric'); Here, X is complex symmetric signal.
Kanak
  • 53
  • 2
  • 6
2
votes
1 answer

MatLab - IFFT of an image is complex

I'm taking the fft2 of an image which gives me a complex matrix, but when I transform it back with ifft2 the result is also a complex matrix and it is not the original image. What can be happening…
Pythonice
  • 313
  • 2
  • 6
  • 8
2
votes
1 answer

inverse fft of fft not returning expected data

I'm trying to make sure FFTW does what I think it should do, but am having problems. I'm using OpenCV's cv::Mat. I made a test program that, given a Mat f, computes ifft(fft(f)) and compares the result to f. I would expect the difference between…
Sveltely
  • 822
  • 1
  • 8
  • 22
2
votes
1 answer

Time Series from spectrum

I am having a samll problem while converting a spectrum to a time series. I have read many article sand I htink I am applying the right procedure but I do not get the right results. Could you help to find the error? I have a time series like: When…
JPV
  • 1,079
  • 1
  • 18
  • 44
2
votes
1 answer

Python: convert frequency response to impulse response

I'm using an acoustic simulator that gives me a (complex) frequency response for any (positive real) frequency I feed in. I would like to generate a 1024 point impulse response. I believe I have the basic technique here:…
P i
  • 29,020
  • 36
  • 159
  • 267
2
votes
1 answer

"Frequency" shift in discrete FFT in MATLAB

(Disclaimer: I thought about posting this on math.statsexchange, but found similar questions there that were moved to SO, so here I am) The context: I'm using fft/ifft to determine probability distributions for sums of random variables. So e.g. I'm…
sebastian
  • 9,526
  • 26
  • 54
2
votes
1 answer

Crossing clock domains within a device

I am working on designing a Pilot Insertion module in VHDL to be implemented on an FPGA which is part of an OFDM system. For every 48 words coming from the modulation components, the pilot insertion will add pilot tones and NULLs to fill the…
2
votes
2 answers

Converting an algorithm using numpy.irfft to JavaScript

I am trying to convert an algorithm initially written with numpy to JavaScript, and I don't manage to reproduce the results from a reverse FFT. The original algorithm uses numpy.fft.rfft and numpy.fft.irfft : # Get the amplitude amplitudes =…
sebpiq
  • 7,540
  • 9
  • 52
  • 69
2
votes
1 answer

OPENCV convolution for big kernels with size nearly equal to image

My image is of size 107x149. And my filter kernel is of size 75x75. What is the best way(in terms of speed) to convolve the image with kernel? Note : filters are non-separable.
Ravi
  • 53
  • 1
  • 7
2
votes
1 answer

blurred image removal in an image database

I have a dataset of about 2000 images. This database contains some blurred images. How can I automatically remove the blurred images from this database? I read about fourier transformation to remove the blurred images. First I need to transform my…
user570593
  • 3,420
  • 12
  • 56
  • 91
2
votes
3 answers

I want to use MATLAB fft2 function for electromagnetic wave propagation

I want to do EM (ELECTROMAGNETIC) wave propagation by find the field Fourier transform in plane z==d , A = fft2(F(x,y,d)) PS(phaseshift) kz = k^2 -(kx^2+ky^2) where kx = 2*pi*1/dx ,ky = 2*pi*1/dy C = IFFT2(A*EXP(i*PS) but I dont get the…
Yasaman
  • 21
  • 3
1
vote
1 answer

Using Periodogram to detect seasonality of time series

I am working on capturing seasonality of time series using periodogram plot, I want to use the top ten frequency components to create the seasonality time series, so far, I plotted the periodogram: data=elec_price[:48*365] from scipy.signal…