S7 · Problem set 6
Problem set 6: FFT and Goertzel costs, windowed spectra, the short-time Fourier transform and averaged periodograms
These problems cover lessons 27 to 31: radix-2 operation counts and stages, Goertzel bins and coefficients, scalloping, resolution, coherent gain and processing gain, STFT window lengths, frame rates and chirp resolution, and the variance, resolution and units of power spectrum estimates.
Check
A radix-2 FFT of length 2048.
(a)
Stages?
(b)
Complex multiplications?
(c)
Speedup over the direct DFT?
Check
A Goertzel detector for 1209 Hz with N = 205 at 8 kHz.
(a)
Bin?
(b)
Coefficient?
(c)
How far is the tone from that bin's center?
Write units the way you normally would: 1.5 Hz, 1500 mHz and 0.0015 kHz are the same answer.
Check
A transform of length 512, needing only 4 bins.
(a)
Goertzel real multiplications?
(b)
Radix-2 FFT real multiplications?
Check
A tone 0.3 bin from the nearest bin of a 256-point FFT at 48 kHz.
(a)
Rectangular-window scalloping?
(b)
Hann resolution?
Write units the way you normally would: 1.5 Hz, 1500 mHz and 0.0015 kHz are the same answer.
Check
A tone on a bin reads |X| = 800 in a 256-point FFT; the window has coherent gain 0.42 and ENBW 1.73.
(a)
Tone amplitude?
(b)
Processing gain?
Check
Two tones 10 Hz apart at 8 kHz.
(a)
Hann record length needed to resolve them?
(b)
Spectral sample spacing after zero-padding that record by 16?
Write units the way you normally would: 1.5 Hz, 1500 mHz and 0.0015 kHz are the same answer.
Check
An STFT with 32 ms Hann windows at 16 kHz, hop 256.
(a)
Window length in samples?
(b)
Frequency resolution?
Write units the way you normally would: 1.5 Hz, 1500 mHz and 0.0015 kHz are the same answer.
(c)
Frames per second?
Check
A chirp sweeping 6000 Hz/s under a Hann window.
(a)
Best window length?
Write units the way you normally would: 1.5 ms, 1500 µs and 0.0015 s are the same answer.
(b)
Smallest spread?
(c)
Spread with a 10 ms window?
Check
A real signal's STFT with 512-point FFTs and hop 128, Hann window.
(a)
Unique complex values per input sample?
(b)
Windows overlapping any one sample?
Check
A 32768-sample record at 96 kHz, 1024-sample Hann segments.
(a)
Bartlett segments?
(b)
Bartlett spread?
(c)
Welch segments at 50% overlap?
Check
An FFT shows −130 dB per bin; ENBW 1.5, N = 32768, 192 kHz.
(a)
Each bin's noise bandwidth?
Write units the way you normally would: 1.5 Hz, 1500 mHz and 0.0015 kHz are the same answer.
(b)
Density, dB per hertz?
Check
White noise of variance 0.25 V² at 10 kHz, estimated to within 12% spread.
(a)
One-sided PSD, V²/Hz?
(b)
Independent segments needed?
Check
Goertzel detectors are compared with a radix-2 FFT of length 1024.
(a)
Below how many bins is Goertzel cheaper?
Check
A tone −12 dB below white noise is analyzed with a 2048-point FFT and a window of ENBW 1.36.
(a)
What SNR does it show in its bin?
Check
A 32768-sample record at 96 kHz gets Welch analysis with 1024-point Hann segments overlapping by half.
(a)
How many segments?
(b)
What resolution?
Write units the way you normally would: 1.5 Hz, 1500 mHz and 0.0015 kHz are the same answer.
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.