# dftmx

Version:

Computes the discrete Fourier transform matrix.

## Syntax

b = dftmx(a)
Legacy name: dftmtx

## a

Order of the matrix. a is a positive integer.

## b

Discrete Fourier transform matrix. b is a complex matrix of values around the unit-circle whose inner product with a column vector of length a yields the discrete Fourier transform of the vector.

a = (1:5)';
f1 = fft(a);
f2 = dftmx(length(a))*a

Where This Node Can Run:

Desktop OS: Windows

FPGA: This product does not support FPGA devices