Return signal having IFFT

2 次查看(过去 30 天)
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

采纳的回答

Jyotish Robin
Jyotish Robin 2017-3-13
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 个评论
Blanca Castells
Blanca Castells 2017-3-13
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!

请先登录,再进行评论。

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by