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.


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 (2019). 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.



Change of name


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