No BSD License  

Highlights from
FourierTransform.m

5.0

5.0 | 1 rating Rate this file 14 Downloads (last 30 days) File Size: 6.56 KB File ID: #13327
image thumbnail

FourierTransform.m

by Carlos Adrian Vargas Aguilera

 

10 Dec 2006 (Updated 13 Dec 2006)

Complex Fourier Transform of a real time series. From zero to Nyquist frequency.

| Watch this File

File Information
Description

[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

Acknowledgements
This submission has inspired the following:
FourierTransform2.m
MATLAB release MATLAB 7.1.0 (R14SP3)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (3)
27 Feb 2007 B. Roossien

First impression is that it works fine. Also good documentation.

18 Apr 2008 sunil tyagi

I tried it and found following error message.

'??? Maximum recursion limit of 500 reached. Use set(0,'RecursionLimit',N)
to change the limit. Be aware that exceeding your available stack space can
crash MATLAB and/or your computer.

Error in ==> mean at 69'

Could you please help to avoid the error,
thanks

25 Apr 2008 lam dong huynh

chao cac ban

Please login to add a comment or rating.
Updates
13 Dec 2006

Little changes on the submit and the help.

Tag Activity for this File
Tag Applied By Date/Time
spectral analysis Carlos Adrian Vargas Aguilera 22 Oct 2008 08:51:55
spectral Carlos Adrian Vargas Aguilera 22 Oct 2008 08:51:55
fourier series Carlos Adrian Vargas Aguilera 22 Oct 2008 08:51:55
fft Carlos Adrian Vargas Aguilera 22 Oct 2008 08:51:55
fourier components Carlos Adrian Vargas Aguilera 22 Oct 2008 08:51:55
fft Paulo Emmanuel 09 Mar 2011 17:08:31
fft Ridha Samosir 03 May 2011 06:04:49

Contact us at files@mathworks.com