FFT
Luciano Esteban Notarfrancesco
lnotarfr at dc.uba.ar
Fri Apr 24 14:07:55 UTC 1998
I found some odd behavior in FFT, and I think it's a bug. Inspect
(FFT new nu: 8;
realData: ((0 to: 255) collect: [ :each |
(2 * Float pi * each / 255) cos]);
transformForward: true.
and take a look at realData. Since the original data is real, the real
part of the Fourier transform must be symmetric, so realData first
should equal realData last, but it does not happen, and instead of it
realData second (!) equals realData last.
Luciano.-
More information about the Squeak-dev
mailing list
|