Programmer Guide/Command Reference/EVAL/dft: Difference between revisions
From STX Wiki
< Programmer Guide | Command Reference | EVAL
Jump to navigationJump to search
m (1 revision: Initial import) |
No edit summary |
||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:{{SUBPAGENAME}}}} | {{DISPLAYTITLE:{{SUBPAGENAME}}}} | ||
Inverse or forward discrete fourier transform (dft). | |||
;Usage:<code>dft(<var>x</var> {, <var>type</var>)</code> | |||
:;<var>x</var>the data vector to be transformed | |||
:;<var>type</var>:selects the data type of the argument and result and the transformation to be performed (default=0) | |||
;Result: | |||
<code>dft(<var> | |||
<code>dft(<var>xr</var>)</code> | <code>dft(<var>xr</var>)</code> |
Revision as of 11:44, 12 April 2011
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.