$25
Paper Assignment
1. 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]) − (π₯π₯[ππ− 2] + π₯π₯[ππ− 3])
(b) y[n] = π₯π₯[ππ] −π₯π₯[ππ− 4] + 0.6561π¦π¦[ππ− 4]
2. Consider a periodic signal
x[n] = sin(0.1ππππ) + sin(0.3ππππ) + 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. 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 9 1
π»π»πΉπΉπΉπΉπΉπΉ(π§π§) = − + π§π§−1 − π§π§−2
16 8 16
Compare the magnitude response of π»π»πΉπΉπΉπΉπΉπΉ(ππππππ) with that of π»π»ππ(ππππππ) above.
(c) Another low-order IIR filter suggested in Jackson (1996) is
π»π»πΉπΉπΉπΉπΉπΉ(π§π§) =
Compare the magnitude response of π»π»πΉπΉπΉπΉπΉπΉ(ππππππ) with that of π»π»ππ(ππππππ) above.
4. Consider the following continuous-time system
π π 4 − 6π π 3 + 10π π 2 + 2π π − 15
π»π»(s) = π π 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. 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 = ± and (3) the magnitude response is approximately 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. 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. 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
8. 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 1+1.57.655π§π§−1π§π§−1+1+1.264.655π§π§−2π§π§−2−0+.4π§π§π§π§−3−3
9. According to problem 2 in paper assignment, plot magnitude response, phase response and group-delay response for each of the systems.
10. 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+22 π§π§+0.75
π§π§ −0.5π§π§
(b) H(z) = 1−21−1.4142.8π§π§−1π§π§+1−1.62+2π§π§.4142−2+0π§π§.729−2−π§π§π§π§−3−3
11. 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.