C9 · Problem set 6
Problem set 6: sampling, spectra and the FFT
These problems use lessons 21 to 29: sampling and reconstruction, changing the sample rate, the DFT, windows and leakage, the FFT and fast convolution, and the spectral analysis lab.
Check
A 7.1 kHz tone is sampled at 8 kHz.
(a)
At what frequency does it appear?
Write units the way you normally would: 1.5 kHz, 1500 Hz and 0.0015 MHz are the same answer.
(b)
Below what frequency must a tone be to appear as itself?
Check
A signal occupies 0 to 15 kHz, and the anti-aliasing filter needs 0.5 kHz to fall from pass to stop.
(a)
What is the lowest usable sample rate?
Write units the way you normally would: 1.5 kHz, 1500 Hz and 0.0015 MHz are the same answer.
(b)
What is that rate's Nyquist frequency?
Check
A zero-order hold reconstructs at 44.1 kHz.
(a)
How much does it droop at 10 kHz?
(b)
What boost would a correction filter need there?
Check
A 48 kHz signal is decimated by 3.
(a)
Where should the anti-aliasing filter cut off?
Write units the way you normally would: 1.5 kHz, 1500 Hz and 0.0015 MHz are the same answer.
(b)
What is that in radians per sample at the original rate?
Check
A 2 kHz tone at 8 kHz is upsampled by 5 with zeros inserted.
(a)
Where is the lowest image?
Write units the way you normally would: 1.5 kHz, 1500 Hz and 0.0015 MHz are the same answer.
(b)
And the next one above it?
Check
A 2048-point DFT runs at 8000 Hz.
(a)
How far apart are its bins?
Write units the way you normally would: 1.5 Hz, 1500 mHz and 0.0015 kHz are the same answer.
(b)
At what fractional bin does a 997 Hz tone fall?
Check
A 500-sample record at 44.1 kHz is zero-padded to 4 times its length.
(a)
What is the new bin spacing?
Write units the way you normally would: 1.5 Hz, 1500 mHz and 0.0015 kHz are the same answer.
(b)
Roughly how close can two tones be and still be told apart?
Check
Sequences of 100 and 31 samples are multiplied as DFTs to convolve them.
(a)
What is the shortest DFT that gives the linear convolution exactly?
(b)
What power-of-two FFT size would be used?
Check
A tone falls 0.3 bin from the nearest bin.
(a)
How low does that bin read with no window?
(b)
And with a Hann window?
Check
An on-bin tone of amplitude 0.2 goes into a 1024-point DFT with a Hann window.
(a)
What does its bin read?
(b)
What amplitude does give back?
Check
An FFT of points takes 1 ns per complex multiplication.
(a)
How long do its multiplications take?
Write units the way you normally would: 1.5 µs, 1500 ns and 0.0015 ms are the same answer.
(b)
And a direct DFT's?
Check
Overlap-add filters with a 63-tap filter using -point FFTs.
(a)
How many new samples per block?
(b)
How many real multiplications per output sample?
Check
A windowed spectrum's log magnitudes (dB) at bins 211 − 1, 211 and 211 + 1 are −9, −3 and −6. The DFT has 1024 points at 8000 Hz.
(a)
What fractional offset δ does the parabola give?
(b)
What is the tone's frequency?
Write units the way you normally would: 1.5 Hz, 1500 mHz and 0.0015 kHz are the same answer.
Check
A spectrogram uses 256-sample frames at 8 kHz, a new frame every 256/4 samples.
(a)
What is its frequency resolution, about one bin?
Write units the way you normally would: 1.5 Hz, 1500 mHz and 0.0015 kHz are the same answer.
(b)
How often does a new frame come?
Check
A 44.1 kHz signal is upsampled by L = 4, filtered, then decimated by M = 4 + 1.
(a)
What is the intermediate rate?
Write units the way you normally would: 1.5 kHz, 1500 Hz and 0.0015 MHz are the same answer.
(b)
What is the output rate?
Have paper and a calculator ready. Work each problem out by hand, then enter the answer. Your first try on each one counts toward your score.
Practice
Keep practicing
15 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.