A discrete Fourier transform matrix is a complex
matrix whose matrix product with a vector computes the discrete Fourier transform of the
vector. dftmtx takes the FFT of the identity matrix to generate the
transform matrix.
For a column vector
x,
is
the same as
y = fft(x,n). The inverse discrete Fourier transform matrix
is