From: Mark Lorenz <mark.lorenz@sh...>  20120208 14:24:06

I'm following the http://www.audacityforum.de/download/edgar/nyquist/nyquistdoc/examples/rbd/03ffttutorial.htm Nyquist FFT Tutorial . But I'm getting a slightly different result than expected. The output from `(ffttest)` should have 1 in the 9th array element, but I'm getting 16: > (ffttest) ffttest : (SEND FFTITER :NEXT) = #(3.28013e15 2.79029e15 1.15578e15 2.79029e 15 2.79029e15 2.79029e15 6.73636e15 1.68587e07 16 2.79029e15 6.73636e15 2.79029e15 2.79029e15 2.79029e15 1.15578e15 3.28013e15 0 2.79029e15 1.15578e15 2.79029e15 2.79029e15 2.79029e15 6.73636e15 1.68587e07 3.4366e07 2.79029e15 6.73636e15 2.79029e15 2.79029e15 2.79029e15 1.15578e15 3.28013e15) I copied and pasted the code from the tutorial, so I doubt there's a mistake on my part. Is 16 the correct result? Also, the tutorial describes the FFT array as:  the DC component goes in array element 0  the Cosine part is in elements 2i  1  the Sine part is in elements 2i  the Nyquist frequency component is in the last element I'm not clear what the meaning of "cosine part" and "sine part" are. The array as shown above doesn't seem like it could be the coefficients for SUM(Asin(2πnt) + Bcos(2πnt)) where n is the frequency. Can anyone please clarify this for me? Thanks for your assistance!  View this message in context: http://audacity.238276.n2.nabble.com/NyquistFFTTutorialHelptp7265789p7265789.html Sent from the audacitynyquist mailing list archive at Nabble.com. 