fftc-func
Calculates the complex FFT result for give vector cx. Shift is off, Spectrum Type is two sided.
Note that the output for this function are complex values, so when doing calculation on data columns, you need to set column data type to complex prior to set column formula. For details, see the example section below.
vector<complex> fftc(vector cx)
cx
Return the complex FFT result.
// Import the signal data string fname$ = system.path.program$ + "Samples\Signal Processing\fftfilter1.DAT"; impASC fname:=fname$; // Add a new column to store the FFT complex result wks.addcol(); // Set data type to complex 16 in advance wks.col3.numerictype = 11; // Use the fftc function to calculate FFT complex result col(C) = fftc(col(B))
fftamp, fftmag, invfft, fftfreq, windata