Description
I Paper Assignment (74%)
1. (6%) Determine the system function, magnitude response, and phase response of the following
systems and use the pole-zero pattern to explain the shape of their magnitude response:
(a) y[n] = 1
4 (π₯π₯[ππ] + π₯π₯[ππ β 1]) β 1
4 (π₯π₯[ππ β 2] + π₯π₯[ππ β 3])
(b) y[n] = π₯π₯[ππ] β π₯π₯[ππ β 4] + 0.6561π¦π¦[ππ β 4]
2. (12%) Consider a periodic signal
x[n] = sin(0.1ππππ) +
1
3 sin(0.3ππππ) +
1
5 sin(0.5ππππ)
For each of the following systems, determine if the system imparts (i) no distortion, (ii) magnitude
distortion, and/or (iii) phase (or delay) distortion.
(a) h[n] = {1ππ=0, β2,3, β4,0,4, β3,2, β1}
(b) y[n] = 10π₯π₯[ππ β 10]
3. (12%) An economical way to compensate for the droop distortion in S/H DAC is to use an
appropriate digital compensation filter prior to DAC.
(a) Determine the frequency response of such an ideal digital filter π»π»ππ(ππππππ) that will perform
an equivalent filtering given by following π»π»ππ(ππππ)
(b) One low-order FIR filter suggested in Jackson (1996) is
π»π»πΉπΉπΉπΉπΉπΉ(π§π§) = β 1
16 +
9
8 π§π§β1 β 1
16 π§π§β2
Compare the magnitude response of π»π»πΉπΉπΉπΉπΉπΉ(ππππππ) with that of π»π»ππ(ππππππ) above.
(c) Another low-order IIR filter suggested in Jackson (1996) is
π»π»πΌπΌπΌπΌπΌπΌ(π§π§) = 9
8 + π§π§β1
Compare the magnitude response of π»π»πΌπΌπΌπΌπΌπΌ(ππππππ) with that of π»π»ππ(ππππππ) above.
4. (12%) Consider the following continuous-time system
π»π»(s) = π π 4 β 6π π 3 + 10π π 2 + 2π π β 15
π π 5 + 15π π 4 + 100π π 3 + 370π π 2 + 744π π + 720
(a) Show that the system H(s) is a nonminimum phase system.
(b) Decompose H(s) into the product of minimum phase component π»π»ππππππ(π π ) and an all pass
component π»π»ππππ(π π ).
(c) Briefly plot the magnitude and phase responses of H(s) and π»π»ππππππ(π π ) and explain your plots.
(d) Briefly plot the magnitude and phase responses of π»π»ππππ(π π ).
5. (12%) We want to design a second-order IIR filter using pole-zero placement that satisfies the
following requirements: (1) the magnitude response is 0 at Ο1 = 0 and Ο3 = Ο (2) The
maximum magnitude is 1 at Ο2,4 = Β± Ο
4 and (3) the magnitude response is approximately 1
β2
at
frequencies Ο2,4 Β± 0.05
(a) Determine locations of two poles and two zeros of the required filter and then compute its
system function H(z).
(b) Briefly graph the magnitude response of the filter.
(c) Briefly graph phase and group-delay responses.
6. (8%) The following signals π₯π₯ππ(π‘π‘) is sampled periodically to obtained the discrete-time signal
x[ππ]. For each of the given sampling rates in πΉπΉπ π Hz or in T period, (i) determine the spectrum
X(eiΟ) of x[ππ]; (ii) plot its magnitude and phase as a function of Ο in ππππππ
π π π π π π and as a function of
F in Hz; and (iii) explain whether π₯π₯ππ(π‘π‘) can be recovered from x[ππ].
(a) π₯π₯ππ(π‘π‘) = 5ei40t + 3eβi70t , with sampling period T = 0.01, 0.04, 0.1
(b) π₯π₯ππ(π‘π‘) = 3 + 2 sin(16ππππ) + 10 cos(24ππππ) , with sampling rate πΉπΉπ π = 30, 20, 15 Hz.
7. (12%) An 8-bit ADC has an input analog range of Β±5 volts. The analog input signal is
π₯π₯ππ(π‘π‘) = 2 cos(200ππππ) + 3 sin(500ππππ)
The converter supplies data to a computer at a rate of 2048 bits/s. The computer, without
processing, supplies these data to an ideal DAC to form the reconstructed signal π¦π¦ππ(π‘π‘). Determine:
(a) the quantizer resolution (or step),
(b) the SQNR in dB,
(c) the folding frequency and the Nyquist rate.
II Program Assignment (26%)
8. (4%) Compute and plot the phase response using the functions freqz, angle, phasez, unwrap, and
phasedelay for the following systems:
(a) y[n] = π₯π₯[ππ β 15]
(b) π»π»(π§π§) = 1+1.655π§π§β1+1.655π§π§β2+π§π§β3
1β1.57π§π§β1+1.264π§π§β2β0.4π§π§β3
9. (6%) According to problem 2 in paper assignment, plot magnitude response, phase response and
group-delay response for each of the systems.
10. (6%) MATLAB provides a function called polystab that stabilizes the given polynomial with
respect to the unit circle, that is, it reflects those roots which are outside the unit-circle into those
that are inside the unit circle but with the same angle. Using this function, convert the following
systems into minimum-phase and maximum-phase systems. Verify your answers using a polezero plot for each system(plot minimum-phase and maximum-phase systems for each question).
(a) H(z) = π§π§2+2π§π§+0.75
π§π§2β0.5π§π§
(b) H(z) = 1β2.4142π§π§β1+2.4142π§π§β2βπ§π§β3
1β1.8π§π§β1+1.62π§π§β2+0.729π§π§β3
11. (10%) Signal xc(t) = 5 cos(200Οt + Ο6 ) + 4 sin(300Οt) is sampled at a rate of Fs = 1 kHz to obtain
the discrete-time signal x[n].
(a) Determine the spectrum X(ejΟ) of x[n] and plot its magnitude as a function of Ο in ππππππ
π π π π π π π π π π π π
and as a function of F in Hz. Explain whether the original signal xc(t) can be recovered from
x[n].
(b) Repeat part (a) for Fs = 500 Hz.
(c) Repeat part (a) for Fs = 100
(d) Comment on your results.