FourierTransform.m
[rC,iC,Fn] = FOURIERTRANSFORM(X,dT) gives the components of the complex Fourier transform, complex(rC,iC), of the real time series X taken at the sampling interval dT (optional) via FFT.
Fn are the respective Fourier frequencies, from zero to Nyquist. This is one of the purposes of this simple program: only positive frequencies.
The other purpose is for the user to see how to get the same result via complex exponentials or Fourier trigonometric series (sines and cosines), although this methods are slower than the FFT.
The M-file comes with the example of the screenshot.
See also INVERSEFOURIERTRANSFORM.M:
http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=13328
Cite As
Carlos Adrian Vargas Aguilera (2024). FourierTransform.m (https://www.mathworks.com/matlabcentral/fileexchange/13327-fouriertransform-m), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Signal Processing > Signal Processing Toolbox > Transforms, Correlation, and Modeling > Transforms > Discrete Fourier and Cosine Transforms >
Tags
Acknowledgements
Inspired: FourierTransform2.m
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 | Little changes on the submit and the help.
|