MATLAB Matlab Code for Time-Frequency Transformation

AI Thread Summary
The discussion centers on the Fourier transform and its implementation in MATLAB, specifically addressing the confusion regarding the relationship between time and frequency transforms. It clarifies that the Fourier transform converts time to frequency, while the inverse transform does the opposite. There is an emphasis on the variations in the mathematical representation of these transforms, particularly the placement of the 2π factor, which can differ between texts and programs. The conversation encourages users to compare definitions when referencing different sources. A request for a practical example of the Fourier transform in MATLAB is also made, with a reference to a resource for further clarification.
eahaidar
Messages
69
Reaction score
1
Hello everyone.
Sorry if the question is silly, but in really need to know something.
We know that The Fourier transform of time is frequency and the inverse of frequency is time.
In Matlab can anyone tell me how to write it ? Because in the book Non linear fiber optics by Agrawal we found that they used the opposite of what I just said any ideas ? Thank you
 
Physics news on Phys.org
The transforms are inverses; one goes time->frequency, the inverse goes frequency->time.

Note that there are several ways to write the transforms, varying where the 2*pi is placed. So compare the definitions being used when comparing different texts/programs.
 
Thank you for the reply
So can u give me an example ?
 

Similar threads

Replies
10
Views
3K
Replies
12
Views
3K
Replies
12
Views
4K
Replies
5
Views
2K
Replies
7
Views
4K
Replies
14
Views
6K
Replies
5
Views
5K
Back
Top