Fast Fourier transform: Difference between revisions
m
→fft command: more complicated than that for complex input (the output is actually reversed)
m (→fft command) |
m (→fft command: more complicated than that for complex input (the output is actually reversed)) |
||
Line 2,783:
=== fft command ===
Stata can also compute FFT using the undocumented '''fft''' command. Here is an example showing its syntax. A time variable must have been set prior to calling this command. Notice that in order to get the same result as Mata's fft() function, in both the input and the output variables the imaginary part must be passed '''first'''
<lang stata>clear
|