Filters and convolution

Digital Signal Processing · · dsp, digital-filters, convolution

Contents

This typeset version was assembled by AI from my handwritten solutions. The handwritten PDF is the original source.

Problem 3018

Problem 3018 · CTU BE2M31DSPA exam

Draw a scheme and explain the principle of the method Overlap-and-Add (OLA) used for the realization of cyclic convolution for long signals. (6 points)

Problem 3018a

Problem 3018a · CTU BE2M31DSPA exam

Draw a scheme and explain the principle of the method Overlap-and-Save (OLS) used for the realization of cyclic convolution for long signals. (6 points)

Problem 3018b

Problem 3018b · CTU BE2M31DSPA exam

Draw a scheme and explain the principle of the method Overlap-and-Add with general window (general OLA) used for the realization of cyclic convolution for long signals. (6 points)

Problem 3018c

Problem 3018c · CTU BE2M31DSPA exam

Draw blok scheme of cyclic convolution for two signals (without segmentation) and explain what does the word “cyclic” mean. (6 points)

Cyclic convolution without segmentation: FFT of x and h, multiply, IFFT

Without segmentation. Source: 3018c.tex

Two signals are x[n]x[n] & h[n]h[n].

The convolution is called cyclic or circular because of the periodic nature of the DFT sequence. x[n]x[n], h[n]h[n] and y[n]y[n] are periodic with NDFT (NFFT).

Problem 3018d

Problem 3018d · CTU BE2M31DSPA exam

Explain when linear and cyclic convolution (without segmentation) of two signals of lengths N1N_1 and N2N_2 give the same result. (6 points)

WhenNDFT=N1+N2−1\boxed{\text{When}\quad \mathrm{NDFT} = N_1 + N_2 - 1}

Problem 3018e

Problem 3018e · CTU BE2M31DSPA exam

Determine the formula of linear convolution of two signals (without segmentation) and draw illustrative figure of a computation of linear convolution. What is the length of output sequence for linear convolution of two signals of finite lengths N1N_1 and N2N_2? (6 points)

y[n]=∑k=−∞∞x[k] h[n−k]y[n] = \sum_{k=-\infty}^{\infty} x[k]\,h[n-k]length(y[n])=N1+N2−1\boxed{\mathrm{length}\left(y[n]\right) = N_1 + N_2 - 1}

Problem 3001

Problem 3001 · CTU BE2M31DSPA exam

Which filter from following three possibilities has the lowest order for fulfilling of same tolerance scheme: 1) FIR designed by window method with Hamming window, 2) IIR with Butterwoth approximation, or 3) IIR with Tchebyshev approximation? (6 points)

3) IIR with Tchebyshev approximation.

Problem 3001a

Problem 3001a · CTU BE2M31DSPA exam

Which filter from following three possibilities has the lowest order for fulfilling of same tolerance scheme: 1) IIR elliptic, 2) IIR with Butterworth approximation, or 3) IIR with Tchebyshev approximation? (6 points)

1) IIR elliptic.

Problem 3001b

Problem 3001b · CTU BE2M31DSPA exam

Which filter from following three possibilities has the lowest order for fulfilling of same tolerance scheme: 1) IIR elliptic, 2) IIR with Tchebyshev approximation, or 3) FIR? (6 points)

1) IIR elliptic.

Problem 3002

Problem 3002 · CTU BE2M31DSPA exam

Draw illustratively magnitude frequency response of low-pass IIR filter with

1) the 1st-type Tchebyshev approximation,
2) the elliptic approximation. (6 points)

Low-pass IIR magnitude responses: Butterworth, Chebyshev I and II, elliptic

LP. Source: 3002.tex · Data: filters.py

Problem 3002a

Problem 3002a · CTU BE2M31DSPA exam

Draw illustratively magnitude frequency response of high-pass IIR filter with

1) the 2nd-type (inverse) Tchebyshev approximation,
2) the Butterworth approximation. (6 points)

High-pass IIR magnitude responses: Butterworth, Chebyshev I and II, elliptic

HP. Source: 3002a.tex · Data: filters.py

Problem 3002b

Problem 3002b · CTU BE2M31DSPA exam

Draw illustratively magnitude frequency response of band-pass IIR filter with

1) the Butterworth approximation,
2) the elliptic approximation. (6 points)

Band-pass IIR magnitude responses: Butterworth, Chebyshev I and II, elliptic

BP. Source: 3002b.tex · Data: filters.py

Problem 3002c

Problem 3002c · CTU BE2M31DSPA exam

Draw illustratively magnitude frequency response of band-pass IIR filter with

1) the Butterworth approximation,
2) FIR filter designed by window method. (6 points)

Same plot as (3002b-eq), BP.

Problem 3002d

Problem 3002d · CTU BE2M31DSPA exam

Draw illustratively magnitude frequency response of low-pass FIR filters designed using

1) the window method,
2) the iso-extremal approximation (Parks-McClellan optimal filter design). (6 points)

Low-pass FIR magnitude responses: window method and Parks-McClellan

Order 27, fs=2000f_\mathrm{s} = 2000 Hz, pass 500 Hz, stop 600 Hz. Source: 3002d.tex · Data: filters.py

Problem 3003

Problem 3003 · CTU BE2M31DSPA exam

Write general form of transfer function H(z)H(z) of FIR filter! Explain how it is with the stability of FIR filters. (6 points)

H(z)=∑k=0Mbkz−k,M is orderH(z) = \sum_{k=0}^{M} b_k z^{-k}, \qquad M \text{ is order}

FIR is always stable.

Problem 3004

Problem 3004 · CTU BE2M31DSPA exam

Write general form of transfer function H(z)H(z) of IIR filter! Explain how it is with the stability of IIR filters. (6 points)

H(z)=∑k=0Mbkz−k∑k=0Nakz−kH(z) = \frac{\displaystyle\sum_{k=0}^{M} b_k z^{-k}}{\displaystyle\sum_{k=0}^{N} a_k z^{-k}}

For stability:
a) all poles must be inside the unit circle;
b) impulse response must be decaying.

Problem 3003a

Problem 3003a · CTU BE2M31DSPA exam

Write general form of difference equation of a FIR filter and draw the direct (transversal) structure for the FIR filter realization. (6 points)

y[n]=b0x[n]+b1x[n−1]+⋯+bMx[n−M]y[n] = b_0 x[n] + b_1 x[n-1] + \dots + b_M x[n-M]
Direct (transversal) FIR structure: delay line with taps b0 to bM summed into y[n]

Source: 3003a.tex

Problem 3004a

Problem 3004a · CTU BE2M31DSPA exam

Write general form of difference equation of an IIR filter and draw the direct structure for the IIR filter realization. (6 points)

y[n]=b0x[n]+b1x[n−1]+⋯+bMx[n−M]−a1y[n−1]−⋯−aNy[n−N](a0=1)y[n] = b_0 x[n] + b_1 x[n-1] + \dots + b_M x[n-M] - a_1 y[n-1] - \dots - a_N y[n-N] \qquad (a_0 = 1)

Problem 3101

Problem 3101 · CTU BE2M31DSPA exam

Which filters have linear phase response and what is the most important consequence of this property? (6 points)

FIR filters have linear phase. Such filters have constant group delay.

Problem 3102

Problem 3102 · CTU BE2M31DSPA exam

What is the principle of “window method” for FIR filter design? (6 points)

It is obtained by shortening of analytically computed infinite impulse response. FS (Fourier series) is used.

Problem 3103

Problem 3103 · CTU BE2M31DSPA exam

Summarize the most important properties of digital FIR filters? (6 points)

  • always stable
  • linear phase
  • requires no feedback

Problem 3017

Problem 3017 · CTU BE2M31DSPA exam

Draw the mask (i.e. frequency response H[k]H[k]) of the ideal low-pass filter with cut-off frequency fc=fs4f_\mathrm{c} = \frac{f_\mathrm{s}}{4} realized in the frequency domain using the DFT of the order N=16N = 16. (6 points)

Given: N=16N = 16, fc=fs4f_\mathrm{c} = \frac{f_\mathrm{s}}{4}

DFT mask of the ideal low-pass, N = 16, fc = fs/4

k=0k = 0 is the DC component. Source: 3017.tex

Cutoff frequency fc→kc=floor(fcfsN)f_\mathrm{c} \rightarrow k_\mathrm{c} = \mathrm{floor}\left(\frac{f_\mathrm{c}}{f_\mathrm{s}}N\right)

kc=floor(fs4fs16)=floor(4)=4k_\mathrm{c} = \mathrm{floor}\left(\frac{f_\mathrm{s}}{4f_\mathrm{s}}16\right) = \mathrm{floor}(4) = 4

Problem 3017a

Problem 3017a · CTU BE2M31DSPA exam

Draw the mask (i.e. frequency response H[k]H[k]) of the ideal low-pass filter with cut-off frequency fc=fs8f_\mathrm{c} = \frac{f_\mathrm{s}}{8} realized in the frequency domain using the DFT of the order N=16N = 16. (6 points)

N=16N = 16, fc=fs8f_\mathrm{c} = \frac{f_\mathrm{s}}{8}

DFT mask of the ideal low-pass, N = 16, fc = fs/8

k=0k = 0 is the DC component. Source: 3017a.tex

Cutoff frequency fc→kc=floor(fcfsN)f_\mathrm{c} \rightarrow k_\mathrm{c} = \mathrm{floor}\left(\frac{f_\mathrm{c}}{f_\mathrm{s}}N\right)

kc=floor(fs8fs16)=2k_\mathrm{c} = \mathrm{floor}\left(\frac{f_\mathrm{s}}{8f_\mathrm{s}}16\right) = 2

Problem 3017b

Problem 3017b · CTU BE2M31DSPA exam

Draw the mask (i.e. frequency response H[k]H[k]) of the ideal band-pass filter with cut-off frequencies fc1=fs8f_\mathrm{c1} = \frac{f_\mathrm{s}}{8} and fc2=3fs8f_\mathrm{c2} = \frac{3f_\mathrm{s}}{8} realized in the frequency domain using the DFT of the order N=16N = 16. (6 points)

N=16N = 16, fc1=fs8f_\mathrm{c1} = \frac{f_\mathrm{s}}{8}, fc2=3fs8f_\mathrm{c2} = \frac{3f_\mathrm{s}}{8}

DFT mask of the ideal band-pass, N = 16

k=0k = 0 is the DC component. Source: 3017b.tex

Cutoff frequencies: fc1f_\mathrm{c1}, fc2f_\mathrm{c2}

kc1=ceil(fc1fsN),kc2=floor(fc2fsN)k_\mathrm{c1} = \mathrm{ceil}\left(\frac{f_\mathrm{c1}}{f_\mathrm{s}}N\right), \qquad k_\mathrm{c2} = \mathrm{floor}\left(\frac{f_\mathrm{c2}}{f_\mathrm{s}}N\right)kc1=ceil(fs8fs16)=2,kc2=floor(3fs8fs16)=6k_\mathrm{c1} = \mathrm{ceil}\left(\frac{f_\mathrm{s}}{8f_\mathrm{s}}16\right) = 2, \qquad k_\mathrm{c2} = \mathrm{floor}\left(\frac{3f_\mathrm{s}}{8f_\mathrm{s}}16\right) = 6

Problem 3017c

Problem 3017c · CTU BE2M31DSPA exam

Draw the mask (i.e. frequency response H[k]H[k]) of the ideal stop-band filter with cut-off frequencies fc1=fs4f_\mathrm{c1} = \frac{f_\mathrm{s}}{4} and fc2=3fs8f_\mathrm{c2} = \frac{3f_\mathrm{s}}{8} realized in the frequency domain using the DFT of the order N=16N = 16. (6 points)

N=16N = 16, fc1=fs4f_\mathrm{c1} = \frac{f_\mathrm{s}}{4}, fc2=3fs8f_\mathrm{c2} = \frac{3f_\mathrm{s}}{8}

DFT mask of the ideal band-stop, N = 16

k=0k = 0 is the DC component. Source: 3017c.tex

Cutoff frequencies: fc1f_\mathrm{c1}, fc2f_\mathrm{c2}

kc1=ceil(fc1fsN),kc2=floor(fc2fsN)k_\mathrm{c1} = \mathrm{ceil}\left(\frac{f_\mathrm{c1}}{f_\mathrm{s}}N\right), \qquad k_\mathrm{c2} = \mathrm{floor}\left(\frac{f_\mathrm{c2}}{f_\mathrm{s}}N\right)kc1=ceil(fs4fs16)=4,kc2=floor(3fs8fs16)=6k_\mathrm{c1} = \mathrm{ceil}\left(\frac{f_\mathrm{s}}{4f_\mathrm{s}}16\right) = 4, \qquad k_\mathrm{c2} = \mathrm{floor}\left(\frac{3f_\mathrm{s}}{8f_\mathrm{s}}16\right) = 6

© 2026 Giorgi Aptsiauri. All rights reserved. Do not copy or republish this text or its figures without permission. Online version: https://giorgiaptsiauri.com/notes/dsp-ctu/05-filters-and-convolution/