| Communications Toolbox | ![]() |
Discrete Fourier transform
fft(x)
fft(x) is the discrete Fourier transform (DFT) of the Galois vector x. If x is in the Galois field GF(2m), then the length of x must be 2m-1.
m = 4; n = 2^m-1; x = gf(randint(n,1,2^m),m); % Random vector y = fft(x); % Transform of x z = ifft(y); % Inverse transform of y ck = isequal(z,x) % Check that ifft(fft(x)) recovers x.
The output is
ck =
1
The Galois field over which this function works must have 256 or fewer elements. In other words, x must be in the Galois field GF(2m), where m is an integer between 1 and 8.
If x is a column vector, then fft applies dftmtx to the primitive element of the Galois field and multiplies the resulting matrix by x.
ifft, dftmtx, Signal Processing Operations in Galois Fields
| eyediagram | filter (channel) | ![]() |
© 1994-2005 The MathWorks, Inc.