S7 Digital signal processing · Practice
Problem set 5: FIR design and the DFT
Problems dealt one at a time, with new numbers every time. The kinds you miss come back more often, and you can keep going as long as you like.
0 solved
0 in a row
0 of 15 kinds solid
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?
A kind of problem counts as solid once you've got it right on the first try twice in a row. Back to the lesson · Practice every topic in S7