How do I manipulate the variable with respect to which IFFT is computed?

2 views (last 30 days)
ariel22
ariel22 on 23 May 2016
Answered: Todd Leonhardt on 23 May 2016
How do I manipulate the variable with respect to which FFT or IFFT is computed in MATLAB? Say for example my function has two variables, but I only want to find the IFFT treating one of them as frequency. Basically I want to know how MATLAB's ifft function decides the variable with respect to which the integral of the transform will be found. Specifically, I need to compute the following integral :
How do I go about this? Thanks!

Answers (1)

Todd Leonhardt
Todd Leonhardt on 23 May 2016
From MATLAB's fft function documentation:
fft(X,[],DIM) or fft(X,N,DIM) applies the fft operation across the dimension DIM.
MATLAB's ifft function behaves analogously.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!