W.E. Bailey
These interactive exercises will help you get a feel for what the discrete Fourier transform (DFT) does.
Fit a sinusoid: What's the frequency?
Fit a sinusoid: amplitude, frequency, phase.
How to read the DFT of a single sinusoid.
Effect of sampling.
Reproduce a square wave with successive harmonics.