---
title: Problem set 10
heading: "Problem set 10: poles and zeros, state space and modulation"
eyebrow: C9 · Problem set 10
type: problems
---

::: hook
These problems use lessons 39 to 48: frequency response read from poles and zeros, notch, all-pass and minimum-phase filters, FIR and IIR design, state-space models, discretizing them, noise through systems, and modulation. Discrete-time frequencies are in radians per sample.
:::

::: pool
pick: 12

::: check
kind: parts
given: f0 = 50 | 60 | 1000; fs = 2000 | 16000; r = 0.95 | 0.99

## A notch filter for {f0} Hz runs at {fs} Hz with poles at radius {r}.

::: part
answer: 2*pi*f0/fs
unit: rad
tolerance: 0.5%

### At what angle are its zeros?

::: misses
- [any] $2\pi f_0/f_s$.
:::
:::

::: part
answer: (1 - r)*fs/pi
unit: Hz
tolerance: 0.5%

### About how wide is the notch?

::: misses
- [any] $2(1 - r)$ rad, in hertz.
:::
:::
:::

::: check
kind: parts
given: w0 = 0.5 | 1.5; r = 0.9 | 0.98

## A notch filter has zeros at $e^{\pm j\given{w0}}$ and poles at $\given{r}e^{\pm j\given{w0}}$.

::: part
answer: (2 - 2*cos(w0))/(1 - 2*r*cos(w0) + r^2)
tolerance: 0.5%

### What is its DC gain?

::: misses
- [any] H(1).
:::
:::

::: part
answer: (2 + 2*cos(w0))/(1 + 2*r*cos(w0) + r^2)
tolerance: 0.5%

### What is its gain at ω = π?

::: misses
- [any] H(−1).
:::
:::
:::

::: check
kind: parts
given: z0 = 0.5 | -1 | 1.5; p = 0.8 | -0.6

## $H(z) = (z - \given{z0})/(z - \given{p})$.

::: part
answer: abs(1 - z0)/abs(1 - p)
tolerance: 0.5%

### What is its gain at DC?

::: misses
- [any] Distances from z = 1.
:::
:::

::: part
answer: abs(1 + z0)/abs(1 + p)
tolerance: 0.5%

### What is its gain at ω = π?

::: misses
- [any] Distances from z = −1.
:::
:::
:::

::: check
kind: parts
given: a = 0.25 | 0.6 | -0.5; w = 1 | 2.5

## $H(z) = (z^{-1} - \given{a})/(1 - \given{a}z^{-1})$.

::: part
answer: 1
tolerance: 0.5%

### What is $\lvert H\rvert$ at ω = {w}?

::: misses
- [any] All-pass.
:::
:::

::: part
answer: 1/a
tolerance: 0.5%

### Where is its zero?

::: misses
- [any] 1/a.
:::
:::
:::

::: check
kind: parts
given: k = 3 | 5 | 6

## An FIR filter is $H(z) = 1 - z^{-\given{k}}$.

::: part
answer: 2
tolerance: 0.5%

### What is its gain at ω = π/{k}?

::: misses
- [any] $\lvert 1 - e^{-j\pi}\rvert$.
:::
:::

::: part
answer: 2*pi/k
unit: rad
tolerance: 0.5%

### Besides DC, at what lowest ω is it zero?

::: misses
- [pi/k] $e^{-jk\omega} = 1$ needs kω = 2π.
- [any] Not yet. 2π/k.
:::
:::
:::

::: check
kind: parts
given: a0 = 9 | 16 | 100; a1 = 2 | 6; b0 = 3 | 20

## $y'' + \given{a1}y' + \given{a0}y = \given{b0}u$.

::: part
answer: sqrt(a0)
unit: rad/s
tolerance: 0.5%

### What is its natural frequency?

::: misses
- [any] $\sqrt{a_0}$.
:::
:::

::: part
answer: b0/a0
tolerance: 0.5%

### What is its DC gain?

::: misses
- [any] $b_0/a_0$.
:::
:::
:::

::: check
kind: parts
given: p = -1 | 2; q = 4 | 1; r = -3 | -2; t = -2 | -6

## $A = \begin{bmatrix} \given{p} & \given{q} \\ \given{r} & \given{t} \end{bmatrix}$.

::: part
answer: p*t - q*r
tolerance: 0.5%

### What is the product of its eigenvalues?

::: misses
- [any] det A.
:::
:::

::: part
answer: (p + t)/2
tolerance: 0.5%

### What is the average of its eigenvalues?

::: misses
- [any] Half the trace.
:::
:::
:::

::: check
kind: parts
given: R = 5 | 50; L = 1 | 0.1; C = 0.01 | 0.001

## A series RLC: R = {R} Ω, L = {L} H, C = {C} F, states $v_C$ and $i_L$.

::: part
answer: R/(2*sqrt(L/C))
tolerance: 0.5%

### What is its damping ratio?

::: misses
- [any] $\zeta = \frac{R}{2}\sqrt{C/L}$.
:::
:::

::: part
answer: 1/C
tolerance: 0.5%

### What is the entry of A in $v_C' = (\,\cdot\,)\,i_L$?

::: misses
- [any] $v_C' = i_L/C$.
:::
:::
:::

::: check
kind: parts
given: a = 20 | 400; h = 0.001 | 0.01

## Euler's method steps $x' = -\given{a}x$ with h = {h} s.

::: part
answer: 1 - a*h
tolerance: 0.5%

### What factor multiplies x each step?

::: misses
- [any] $1 - ah$.
:::
:::

::: part
answer: 2/a
unit: s
tolerance: 0.5%

### What is the largest stable step?

::: misses
- [any] 2/a.
:::
:::
:::

::: check
kind: parts
given: fc = 455 | 1000; fm = 100 | 5000; mu = 0.4 | 0.9

## A {fc} kHz carrier is AM-modulated by a {fm} Hz tone with μ = {mu}.

::: part
answer: fc - fm/1000
unit: kHz
tolerance: 0.001%

### Where is the lower sideband?

::: misses
- [any] $f_c - f_m$.
:::
:::

::: part
answer: 100*mu^2/(2 + mu^2)
unit: %
tolerance: 0.5%

### What share of the power is in the sidebands?

::: misses
- [any] $\mu^2/(2 + \mu^2)$.
:::
:::
:::

::: check
kind: parts
given: phi = 10 | 40 | 75; A = 1 | 4

## A DSB-SC signal $\given{A}m(t)\cos\omega_ct$ is demodulated with a carrier {phi}° off, then low-pass filtered.

::: part
answer: A/2*cos(phi*pi/180)
tolerance: 0.5%

### By what factor is m(t) scaled at the output?

::: misses
- [A*cos(phi*pi/180)] The product's low-frequency part carries a factor of 1/2.
- [any] Not yet. $\tfrac A2\cos\phi$.
:::
:::

::: part
answer: 90
unit: °
tolerance: 0.5%

### At what phase error would the output vanish?

::: misses
- [any] Where cos φ = 0.
:::
:::
:::

::: check
kind: parts
given: W = 200 | 3000; B = 5 | 15; g = 2 | 5

## A {W} kHz band carries {B} kHz messages with {g} kHz guard bands.

::: part
answer: floor(W/(2*B + g))
tolerance: 0

### How many DSB channels fit?

::: misses
- [any] W/(2B + g), rounded down.
:::
:::

::: part
answer: floor(W/(B + g))
tolerance: 0

### How many single-sideband channels fit?

::: misses
- [any] W/(B + g), rounded down.
:::
:::
:::

::: check
kind: parts
given: A = 45 | 65 | 90; d = 0.025 | 0.1

## A Kaiser FIR design needs {A} dB over a transition of {d} cycles per sample.

::: part
answer: ceil((A - 8)/(2.285*2*pi*d) + 1)
tolerance: 0

### About how many taps?

::: misses
- [any] $(A - 8)/(2.285\,\Delta\omega) + 1$.
:::
:::

::: part
answer: (ceil((A - 8)/(2.285*2*pi*d) + 1) - 1)/2
tolerance: 0.5%

### What delay does it add, in samples?

::: misses
- [any] (N − 1)/2.
:::
:::
:::

::: check
kind: parts
given: fc = 3 | 8 | 18; fs = 44.1 | 48

## A bilinear IIR design should corner at {fc} kHz, at {fs} kHz.

::: part
answer: fs/pi*tan(pi*fc/fs)
unit: kHz
tolerance: 0.5%

### At what corner should the analog prototype be designed?

::: misses
- [any] Prewarp: $\frac{f_s}{\pi}\tan(\pi f_c/f_s)$.
:::
:::

::: part
answer: (fs/pi*tan(pi*fc/fs) - fc)/fc*100
unit: %
tolerance: 0.5%

### How much higher is that, in percent?

::: misses
- [any] The difference over {fc} kHz.
:::
:::
:::

::: check
kind: parts
given: a = 0.1 | 0.3; fs = 1 | 50; s = 2 | 10

## An exponential smoother with α = {a} at {fs} kHz filters white noise of {s} mV rms.

::: part
answer: s*sqrt(a/(2 - a))
unit: mV
tolerance: 0.5%

### What rms noise comes out?

::: misses
- [any] The power falls by $\alpha/(2 - \alpha)$.
:::
:::

::: part
answer: fs*1000/2*a/(2 - a)
unit: Hz
tolerance: 0.5%

### What is its noise bandwidth?

::: misses
- [any] $\frac{f_s}{2}\cdot\frac{\alpha}{2 - \alpha}$.
:::
:::
:::
:::
