S7 · Problem set 5
Problem set 5: window and Kaiser designs, equiripple estimates, the DFT, circular convolution and block convolution
These problems cover lessons 22 to 25: windowed ideal responses, window tables and Kaiser's formulas, equiripple length estimates and weights, DFT bins and amplitudes, circular against linear convolution, and the arithmetic and latency of overlap-add and overlap-save.
Check
A Kaiser lowpass: passband edge 0.2π, transition 0.1π, 70 dB.
(a)
Cutoff for the ideal response, in units of π?
(b)
β?
(c)
M, rounded up?
Check
A windowed lowpass with M = 40, cutoff 0.3π, Hamming window.
(a)
?
(b)
w[11]?
(c)
h[11]?
Check
A transition width of 0.1π with fixed windows.
(a)
M for a Hamming window (main-lobe width)?
(b)
M for a Blackman window?
Check
A lowpass needs δ₁ = 0.01, δ₂ = 0.001, transition 0.12π.
(a)
Equiripple order estimate?
(b)
Kaiser window order?
(c)
Weight ratio K?
Check
A specification with 0.5 dB passband ripple and stopband δ₂ = 0.001.
(a)
δ₁?
(b)
Stopband attenuation?
Check
An optimal Type I lowpass of order 48.
(a)
Minimum alternations?
(b)
Maximum (extraripple)?
(c)
Taps?
Check
A tone of amplitude 0.2 at 3 kHz, sampled at 12 kHz, 2048-point DFT.
(a)
Bin spacing?
Write units the way you normally would: 1.5 Hz, 1500 mHz and 0.0015 kHz are the same answer.
(b)
Bin index of the tone?
(c)
|X| at that bin, if it's an integer?
Check
Two length-7 pulses of ones, convolved with 8-point DFTs.
(a)
Smallest N with no wrap-around?
(b)
Circular output at n = 2?
Check
Sequences of lengths 200 and 33.
(a)
Linear convolution length?
(b)
Smallest power-of-two FFT?
Check
Overlap-save with N = 1024, P = 100, at 96 kHz.
(a)
Outputs per block?
(b)
Multiplies per output (model)?
(c)
Block latency?
Write units the way you normally would: 1.5 ms, 1500 µs and 0.0015 s are the same answer.
Check
Overlap-add over a 200000-sample signal, N = 2048, P = 1025.
(a)
Blocks?
(b)
Samples of tail added into the next block?
Check
x = [1, 3, 4] convolved with h = [1, 0.5].
(a)
Linear output sample 1?
(b)
Sample 0 of the 3-point circular convolution?
Check
A 44 dB lowpass has a 0.08π transition.
(a)
What order does a Hann window need?
(b)
And a Kaiser window?
Check
Sequences of lengths 100 and 30 are convolved with 256-point DFTs.
(a)
How many outputs are corrupted by wraparound?
Check
A 64-tap filter runs by overlap-save with FFTs 2 times its length at 48 kHz.
(a)
How many real multiplications per output?
(b)
How many times cheaper than direct convolution?
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.