- Plot a Fourier transform. In Python with NumPy, generate a 1-second cosine at 100 Hz sampled at 1 kHz, FFT it, plot the magnitude spectrum. You should see a spike at 100 Hz and another at Hz (the FFT's negative-frequency mirror). Try mixing two frequencies; verify the spectrum has both spikes.
- Sampling demo. Generate a 1 kHz sine wave, sample it at 4 kHz, 2.5 kHz, 1.5 kHz, and 1 kHz. Plot. The first two reproduce the wave correctly; the last two alias.
- Build an RC low-pass filter in real hardware. Drive with a function generator at various frequencies; measure the output amplitude with a scope. Plot magnitude vs frequency; verify the dB point and the dB/decade rolloff.
- Convolution by hand. Compute the convolution of with . Then verify by FFT-multiply-IFFT (zero-pad first). The result should be .
- Filter audio. Pick any audio signal (a recording you have made, or a generated tone). Apply a digital low-pass filter in software (
scipy.signal.lfilter, with a Butterworth design fromscipy.signal.butter). Listen to the output. Notice the high frequencies are gone; the bass remains. - Find a pole. Take a simple RC low-pass circuit, write its transfer function , and identify the pole. (Answer: .) Plot the pole on a sheet of paper as an "x." Does it sit in the left half plane? It should.
When the above feel intuitive, you have the chapter under your belt.