ECE 464/564: Digital Signal Processing - Winter 2020
Homework 1
Due: Jan 21, 2020 (Tuesday)
1. The continuous-time signal
xc (t) = cos(40πt) + sin(160πt)
is sampled with a sampling period T to obtain the discrete-time signal
πn 4πn
x[n] = cos + sin .
15 15
(a) Determine a choice for T consistent with this information.
(b) Is your choice for T in part (a) unique? If so, explain why. If not, specify another choice of T
consistent with the information given.
2. The continuous-time signal
cos(4000πt)
xc (t) =
4000πt
is sampled with a sampling period T to obtain the discrete-time signal
cos(πn/3)
x[n] = .
(πn/3)
(a) Determine a choice for T consistent with this information.
(b) Is your choice for T in part (a) unique? If so, explain why. If not, specify another choice of T
consistent with the information given.
3. Use the system shown in Fig. 1 below to implement a bandstop filter: (Ωb T < π)
(
0 Ωa ≤ |Ω| ≤ Ωb
Hc (jΩ) =
1 otherwise.
(C/D: An ideal continuous-to-discrete time converter, D/C: An ideal discrete-to-continuous time con-
verter)
Figure 1: Continous-time filter using a discrete-time LPF.
(a) Find Hd (ejω ).
(b) Find h[n] from Hd (ejω ).
1
4. Each of the following parts lists an input signal x[n] and the Up-sampling and Down-sampling rates L
and M , respectively, for the system in Fig. 2. Determine the corresponding output x̃d [n].
Figure 2: System for changing the sampling rate.
(a) x[n] = sin(4πn/5)/(πn), L = 6, M = 5.
(b) x[n] = sin(2πn/3), L = 5, M = 6.
5. For the system shown in Fig. 2, X(ejω ), the Fourier transform of the input signal x[n], is shown in
Fig. 3.
Figure 3: For problem 5.
For each of the following choices of L and M , specify the maximum possible value of ω0 such that
X(ejω ) can be recovered from Xd (ejω ), i.e., that X(ejw ) does not undergo any distortion effect that
prevents it from being perfectly reconstructed from Xd (ejw ).
(a) L = 8, M = 4.
(b) L = 4, M = 8.
2
6. Consider a continous-time filter system (as in Fig. 1) that uses an LTI discrete-time filter ideal lowpass
filter with frequency response over −π ≤ ω ≤ π as
(
1 |ω| < ωc
H(ejω ) =
0 ωc < |ω| < π.
Figure 4: Continuous-Time Fourier Transform of xc (t).
(a) If the continuous-time Fourier transform of xc (t), namely Xc (jΩ), is as shown in Fig. 4 and
ωc = 0.3π, sketch and label X(ejω ), Y (ejω ) and Yc (jΩ) for T = 5 × 10−4 .
(b) For T = 10−3 and for input signals xc (t) whose spectra are bandlimited to |Ω| < 2π × 8 × 102
(but otherwise unconstrained), what is the maximum choice of the cutoff frequency ωc of the filter
H(ejω ) for which no aliasing occurs. For this maximum choice of ωc , specify Hc (jΩ).