Code covered by the BSD License  

Highlights from
DFT easy computation and display

Be the first to rate this file! 4 Downloads (last 30 days) File Size: 1.62 KB File ID: #27824

DFT easy computation and display

by Javier Amezcua

 

03 Jun 2010

The program computes the DFT and displays it with the correct freq units and without the mirroring.

| Watch this File

File Information
Description

Solves the difficulty of computing and visualizing the DFT of an array that can be caused by (a) the units of frequency, (b) the mirroring effect, (c) the complex nature.
% Inputs: -t, a time array evenly spaced 0:tstep:T
% -x, the function array
% -pl, {0,1} to display plot

% Outputs: - f a frequency array
% - G, the fourier transform, starting on the coefficiente % G1 and not in G0! (the value of wave number 0
% component is taken out, later it is explained why)

MATLAB release MATLAB 7.7 (R2008b)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
03 Jun 2010 Frederic Moisy

Oh, it is exactly the same as EZFFT,
see submission number 22163,
http://www.mathworks.com/matlabcentral/fileexchange/22163

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
fourier transform visualization Javier Amezcua 03 Jun 2010 10:31:19
fourier transform visualization Lorand Szabo 08 Jun 2010 14:51:43
fourier transform visualization Ç 09 Jun 2010 23:58:10

Contact us at files@mathworks.com