File Exchange

image thumbnail

DFT (Discrete Fourier Transform) of sampled Data

version 1.0.2 (1.17 KB) by SObhan Chatterjee
The function file computes DFT without making use of fft and loops.

6 Downloads

Updated 06 Dec 2018

View License

The function file uses vectorisation of data to compute the DFT of a given sample data 'x'. The DFT is returned as a column vector.

Cite As

SObhan Chatterjee (2018). DFT (Discrete Fourier Transform) of sampled Data (https://www.mathworks.com/matlabcentral/fileexchange/69589-dft-discrete-fourier-transform-of-sampled-data), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (2)

I agree. Whilst it's faster (more efficient) than DFT calculated using loops, it's slower than fft() or any program using an algorithm for fast fourier transform. This function is to assist those who want an alternative to fft() but want a program faster than those with multiple loops. Hope this makes sense.

why? it computes the same as fft, but less efficient.

Updates

1.0.2

Change of name

1.0.1

Minor revision to make it compatible with row data. An earlier version was compatible with only column data.

MATLAB Release Compatibility
Created with R2018a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Discover Live Editor

Create scripts with code, output, and formatted text in a single executable document.


Learn About Live Editor