dft
From STX Wiki
< Programmer Guide | Command Reference | EVAL
Jump to navigationJump to search
Inverse or forward discrete fourier transform (dft).
- Usage
dft(x {, type)
- xthe data vector to be transformed
- type
- selects the data type of the argument and result and the transformation to be performed (default=0)
- Result
dft(xr)
Contents
Function:
Forward DFT of the real signal xr. nrow(xr)
must be even.
Result:
A complex spectrum with nrow(xr)/2
complex elements (1st half).
Usage:
dft(xc, 1)
Function:
Forward DFT of the complex signal xc.
Result:
A complex spectrum of the same type as xc.
Usage:
dft(xc, 2)
Function:
Inverse DFT of the symmetrical complex spectrum.
Result:
A real signal with nrow(xc)*2
elements.
Usage:
dft(xc, 3)
Function:
Inverse DFT of the complex spectrum xc.
Result:
A complex spectrum of the same type as xc.