This is where navigation should be.

DFT - Normalized Discrete Fourier Transform

Usage

f=dft(f);
f=dft(f,N,dim);

Description

dft computes a normalized or unitary discrete Fourier transform. The unitary discrete Fourier transform is computed by

\begin{equation*} c\left(k+1\right)=\frac{1}{\sqrt{L}}\sum_{l=0}^{L-1}f\left(l+1\right)e^{-2\pi ikl/L} \end{equation*}

for \(k=0,\ldots,L-1\).

The output of dft is a scaled version of the output from fft. The function takes exactly the same arguments as fft. See the help on fft for a thorough description.