Owning Class: transforms
Requires: MathScript RT Module
b = dftmx(a)
Legacy Name: dftmtx
Computes the discrete Fourier transform matrix.
| Name | Description |
|---|---|
| a | Specifies the order of the matrix. a is a positive integer. |
| Name | Description |
|---|---|
| b | Returns the 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