Return signal having IFFT

1 view (last 30 days)
Blanca Castells
Blanca Castells on 9 Mar 2017
Commented: Blanca Castells on 13 Mar 2017
Hello!
I have a function f(OM,T) which depends on two variable: frequency and time; and I now that this function is the Verse Fast Fourier transform of another function g(T). How can I get the second function g(T)?
THANKS

Accepted Answer

Jyotish Robin
Jyotish Robin on 13 Mar 2017
Hi!
I assume that you meant to say 'f' is the inverse fourier transform of the function 'g'.
If that is the case, finding the FFT of 'f' will give you 'g'.
The following doc link will point you towards how to calculate FFT in MATLAB:
Hope this helps!
  1 Comment
Blanca Castells
Blanca Castells on 13 Mar 2017
Yes, my keyboard always changes my sentences in English haha.
My problem is that I have a handle function instead of a vector, can I use fft command with it? Because I've seen in some articles something like this:
f=@(OM) F(OM);
OM=[0:0.01:100];
g=fft(f(OM))
But what I get with that is another vector instead a time-dependant function.
Thankyou for the answer!

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!