Digital Signal Processing


Fast Fourier Transformation (FFT)

In the Squeak class hierarchy you can find a class FFT. This class implements the Fast Fourier Transform roughly as described on page 367
of "Theory and Application of Digital Signal Processing" by Rabiner and Gold.
Each instance caches tables used for transforming a given size (n = 2^nu samples) of data.

It would have been cleaner using complex numbers, but often the data is all real. Evaluate the following expression for a little example:

Display restoreAfter: [(FFT new nu: 8) test]

sqk00036.gif (4806 Byte)