study schrieb:
> Ist die erste Spalte der Realteil oder Imaginäranteil?
steht doch im Kommentar:
/*----------------------------------------------
fft_test.c - demonstration program for fft.c
----------------------------------------------*/
/***********************************************************************
*******
* This program demonstrates how to use the file fft.c to calculate an
*
* of given time-domain samples, as well as to calculate an inverse FFT
*
* (IFFT) of given frequency-domain samples. First, N complex-valued
time- *
* domain samples x, in rectangular form (Re x, Im x), are read from a
*
* specified file; the 2N values are assumed to be separated by
whitespace. *
* Then, an N-point FFT of these samples is found by calling the
function *
* fft, thereby yielding N complex-valued frequency-domain samples X in
*
* rectangular form (Re X, Im X). Next, an N-point IFFT of these
samples is *
* is found by calling the function ifft, thereby recovering the
original *
* samples x. Finally, the calculated samples X are saved to a
specified *
* file, if desired.
*
************************************************************************
******/