ifft Questions

2

Solved

I want to use Fast Fourier Transform but already trying a simple back and forth transformation doesn't work. The code is import cv2 import numpy as np img = cv2.imread('Picture.bmp',0) f = np.fft...
Guenevere asked 22/6, 2015 at 21:12

2

Solved

I tried to filter some signal with fft. The signal I am working on is quite complicated and im not really experienced in this topic. That's why I created a simple sin wave 3Hz and tried to cut off ...
Insurrectionary asked 22/3, 2018 at 10:37

1

I am trying to implement the split-step fourier method to solve the nonlinear schrodinger equation in optics. It basically treats the linear part and nonlinear part separately. It solves the linear...
Tidbit asked 20/8, 2017 at 1:48

1

Solved

I'm trying to implement fast polynomial division using Fast Fourier Transform (fft). Here is what I have got so far: from numpy.fft import fft, ifft def fft_div(C1, C2): # fft expects right-most...
Larch asked 27/6, 2017 at 0:31

1

Solved

I want to Convolve Lena with itself in the Frequency Domain. Here is an excerpt from a book. which suggests how should the output of the convolution be: I have written the following application ...
Belton asked 1/8, 2016 at 23:59

3

Solved

I know I can change frequency by whole numbers by changing the variable shift but how can I change the frequency using numbers with decimal places like .754 or 1.2345 or 67.456. If I change the var...
Vav asked 13/1, 2016 at 17:40

2

Solved

I have a little script for calculating the Fourier Transform of a square wave which works well and returns the square wave correctly when I invert the fft using numpy.fft.ifft(). However, I am unab...
Drone asked 28/11, 2015 at 16:36

1

Solved

I'm trying to increase / decrease the frequency of a signal using fft and ifft. The first plot is 1hz and the second plot is 2hz which I'm trying to get by altering the fft and ifft values. I can ...
Elin asked 30/12, 2014 at 20:24

1

Solved

I want to shift an image (represented by a 2D matrix) using the multiplication of its fft by exp(-j*2*pi*x*F), where x is the displacement. I have: input=peaks(200); H=fftshift(fft2(fftshift(input...
Enfeoff asked 13/9, 2014 at 21:33

2

Solved

I have convoluted an image I created in matlab with a 2D Gaussian function which I have also defined in matlab and now I am trying to deconvolve the resultant matrix to see if I get the 2D Gaussian...
Menado asked 3/10, 2013 at 4:1

3

Solved

If I have a waveform x such as x = [math.sin(W*t + Ph) for t in range(16)] with arbitrary W and Ph, and I calculate its (Real) FFT f with f = numpy.fft.rfft(x) I can get the original x with ...
Carree asked 5/3, 2013 at 4:24

1

I have an ordinary differential equation in time domain as follows: C*du/dt = -g*u + I where I = A*t/tau*exp^(1-t/tau) in the freq domain: u(w) = I(w)/(g*(1+C/g*j*w)) j being the complex nu...
Baleen asked 26/11, 2012 at 18:22

1

I'm using C++/C to perform forwards and reverse FFT on some data which is supposed to be the pulsed output of a laser. The idea is to take the output, use a forward FFT to convert to the frequency...
A asked 14/8, 2012 at 22:40

1

Solved

This is partly taken from the Matlab fft-documentation: Fs = 30; % Sampling frequency T = 1/Fs; % Sample time L = 130; % Length of signal t = (0:L-1)*T; % Time vector x = sin(2*pi*1*t); % 1 Hz s...
Angora asked 11/6, 2012 at 15:20
1

© 2022 - 2024 — McMap. All rights reserved.