Motorola DSP Developer's Kit |
Motorola DSP Developer's Kit |
Motorola DSP Developer's Kit | ![]() ![]() |
Y=mot566_fft(X) Y=mot566_fft(X,N) Y=mot566_fft(X,N,DIM)
Description
mot566_fft(X) is the discrete Fourier transform (DFT) of vector X. If the length of X is not a power of two, it will be padded with zeros to make the length a power of two.
For matrices, the FFT operation is applied to each column.
mot566_fft(X,N) is the N-point FFT.
mot566_fft(X,N,DIM) applies the FFT operation across the dimension DIM.
Characteristics
In the workspace, if the input is:
X = [-0.0023 - 0.0101i -0.0446 - 0.0229i -0.0634 - 0.0223i -0.0701 - 0.0234i -0.1196 - 0.0103i -0.0244 - 0.0014i]
mot566_fft(X,2,2) ans=-0.0469 - 0.0330i 0.0423 + 0.0128i -0.1897 - 0.0337i 0.0495 - 0.0131i
Argument
X
Vector (or matrix) with elements normalized in the range [-1,1] (for complex elements, both real and imaginary parts should comply with this limit).
See Also
mot566_ifft
![]() | mot566_dspround | mot566_filter | ![]() |