Question 6 of 6: Which linear-phase FIR types can realise each desired response
Nivaar worked solution (AI-drafted; not reviewed by a licensed engineer)
Notes on this paper
Paper format. National Exams May 2018 — 16-Elec-B1, Digital Signal Processing. Three hours, closed book; one approved Casio or Sharp calculator and one double-sided aid sheet of tables and formulas are permitted. Six questions are printed and five constitute a complete paper, each worth 12 points; the marking scheme published on page 1 breaks those 12 points down part by part. All six questions are solved below, because the set is intended as a study resource rather than as a three-hour sitting.
Reference texts. A. V. Oppenheim and R. W. Schafer, Discrete-Time Signal Processing, 3rd ed., Pearson, 2010 — the source of the z-transform tables, the DFT property list and the sampling relations reproduced on pages 6–8 of this exam. J. G. Proakis and D. G. Manolakis, Digital Signal Processing: Principles, Algorithms and Applications, 4th ed., Pearson, 2007. S. K. Mitra, Digital Signal Processing: A Computer-Based Approach, 4th ed., McGraw-Hill, 2011 — filter structures, transposition and linear-phase FIR types.
Figure data. The eight-sample reading is the one used below, and it is what makes the requested eight-point circular convolution well posed.
Question 6: Which linear-phase FIR types can realise each desired response (12 marks)
Given. A window design $h[n] = h_d[n]w[n]$ on $0 \le n \le M$, four desired responses each carrying the linear-phase factor $e^{-j(M/2)\omega}$, and the four standard linear-phase FIR types.
Find. For each desired response, which of Types I–IV can realise it, with a justification based on the symmetry of $h[n]$ and on the forced zeros of each type.
Approach. Every linear-phase FIR response can be written $H(e^{j\omega}) = A(\omega)e^{-j\omega M/2}$ or $jA(\omega)e^{-j\omega M/2}$ with $A$ real; the presence or absence of the factor $j$ decides symmetric versus antisymmetric $h[n]$, and the parity of $M$ then decides which structural zeros are forced at $\omega = 0$ and $\omega = \pi$. A type is admissible when its symmetry matches and none of its forced zeros falls where the desired response must be non-zero.
Decide symmetric or antisymmetric from the factor in front. Windowing preserves symmetry about $M/2$ provided $w[n]$ is itself symmetric, which every standard window is. So the symmetry of $h[n]$ is inherited from $h_d[n]$:
$$H_d = A(\omega)e^{-j\omega M/2} \;\Rightarrow\; h_d[n] = h_d[M-n] \ \text{(symmetric)}, \qquad
H_d = jA(\omega)e^{-j\omega M/2} \;\Rightarrow\; h_d[n] = -h_d[M-n].$$
Rows (i) and (ii) carry no $j$ and are therefore symmetric — Type I or II. Rows (iii) and (iv) carry $\pm j$ with an odd sign pattern in $\omega$ and are antisymmetric — Type III or IV.
List the structural zeros of the four types. Writing $A(\omega)$ for the real amplitude function:
• Type I ($M$ even, symmetric): $A$ is a cosine sum, free at both $\omega = 0$ and $\omega = \pi$.
• Type II ($M$ odd, symmetric): the pairs $n$ and $M-n$ have opposite parity, so at $\omega = \pi$ each pair cancels — $A(\pi) = 0$ identically.
• Type III ($M$ even, antisymmetric): $A$ is a sine sum with $A(0) = 0$ and $A(\pi) = 0$ identically.
• Type IV ($M$ odd, antisymmetric): $A(0) = 0$ identically, but $A(\pi)$ is free.
The rule that follows is simple: a type is ruled out only when one of its forced zeros sits where $H_d$ must be non-zero.
Row (i), the ideal lowpass. The response is real-amplitude, so $h[n]$ is symmetric and only Types I and II are candidates. The desired gain is 1 at $\omega = 0$ and 0 at $\omega = \pi$. Type I forces nothing, so it works. Type II forces $A(\pi) = 0$, which the lowpass wants anyway, so it also works — the constraint is free of charge.
$$\text{Row (i)} \;\Rightarrow\; \boxed{\text{Type I: YES}, \quad \text{Type II: YES}, \quad \text{Types III, IV: NO}.}$$
Row (ii), the ideal highpass. Again real-amplitude, so Types III and IV are excluded on symmetry alone. The desired gain is now 1 at $\omega = \pi$. Type II forces $A(\pi) = 0$ and therefore cannot pass the very band the filter is meant to pass; only Type I survives.
$$\text{Row (ii)} \;\Rightarrow\; \boxed{\text{Type I: YES}, \quad \text{Types II, III, IV: NO}.}$$
Row (iii), the 90-degree-shifted highpass. The $\pm j$ with odd sign in $\omega$ makes $A(\omega)$ an odd function, so $h[n]$ is antisymmetric and only Types III and IV are candidates. The desired amplitude is 0 near $\omega = 0$ but of unit magnitude at $\omega = \pi$. Type III forces $A(\pi) = 0$ and is therefore disqualified; Type IV forces only $A(0) = 0$, which the response wants anyway.
$$\text{Row (iii)} \;\Rightarrow\; \boxed{\text{Type IV: YES}, \quad \text{Types I, II, III: NO}.}$$
Row (iv), the 90-degree-shifted bandpass. Antisymmetric again, so Types III and IV are the candidates. This time the desired amplitude is zero both at $\omega = 0$ and at $\omega = \pi$, because $0 \lt \omega_{c1} \lt \omega_{c2} \lt \pi$. Type III's two forced zeros land exactly where they are wanted, and Type IV's single forced zero at $\omega = 0$ likewise; nothing prevents a Type IV design from approximating zero at $\pi$, it simply is not obliged to.
$$\text{Row (iv)} \;\Rightarrow\; \boxed{\text{Type III: YES}, \quad \text{Type IV: YES}, \quad \text{Types I, II: NO}.}$$
Type III is the more natural choice of the two, since it enforces the upper-edge null structurally.
Figure 6.1 — the four linear-phase FIR types. The symmetry of $h[n]$ about $M/2$ (upper row symmetric, lower row antisymmetric) decides which desired responses are reachable at all, and the parity of $M$ decides which amplitude zeros are forced at $\omega = 0$ and $\omega = \pi$.
$H_d(e^{j\omega})$
Type I
Type II
Type III
Type IV
(i) Lowpass, $e^{-j(M/2)\omega}$ for $|\omega| \lt \omega_c$
YES
YES
—
—
(ii) Highpass, $e^{-j(M/2)\omega}$ for $\omega_c \lt |\omega| \lt \pi$