Discrete Fourier Transform

The discrete Fourier transform is an important tool in digital signal processing. This toolbox offers these tools to help you process discrete Fourier transforms:

In all cases, the vector being transformed must be a Galois vector of length 2m-1 in the field GF(2m). The examples below illustrate the use of these functions. You can check, using the isequal function, that y equals y1, z equals z1, and z equals x.

m = 4;
x = gf(randint(2^m-1,1,2^m),m); % A vector to transform
alph = gf(2,m);
dm = dftmtx(alph);
idm = dftmtx(1/alph);
y = dm*x; % Transform x using the result of dftmtx.
y1 = fft(x); % Transform x using fft.
z = idm*y; % Recover x using the result of dftmtx(1/alph).
z1 = ifft(y1); % Recover x using ifft.


© 1994-2005 The MathWorks, Inc.