NED UNIVERSITY OF ENGINEERING AND TECHNOLOGY
TE (Electronic Engineering)
TC-212 Digital Signal Processing
Assignment number 2
1. A second-order recursive system is described by the following linear constant coefficient
difference equation (LCCDE) Find the unit sample response h(n) of this system.
3 1
y (n) y (n 1) y (n 2) x(n) x(n 1)
4 8
NOTE: By definition y (n) h(n) when x(n) (n) with zero initial conditions
2. A Quadrature filter (or 90 phase shifter) is a system with the following frequency response.
j 0
H (e j )
j 0
Note that the magnitude is constant for all , and the phase is / 2 for 0 and
/ 2 for 0 . Find the unit sample response of this system.
3. Consider the system defined by the difference equation y (n) ay (n 1) bx(n) x(n 1)
where a and b are real, and | a | 1 . Find the relationship between a and b that must exist if the
frequency response is to have a constant magnitude for all , that is | H (e j ) | 1 . Assuming that
this relationship is satisfied, find the output of the system when a 1 / 2 and x ( n) (1 / 2) n u (n) .
TIP: for complex number 𝑧, |𝑧| = 𝑧 𝑧 ∗ . Therefore, 𝐻 𝑒 =𝐻 𝑒 𝐻∗ 𝑒 can be used
to easily evaluate 𝐻 𝑒
4. A recursive system is defined by the difference equation 𝑦(𝑛) = 𝑎𝑦(𝑛 − 1) + 𝑥(𝑛). Find Unit
Impulse response of the system.
5. Consider the high –pass filter that has a cut-off frequency 𝜔 = 3𝜋/4 as shown in the
following figure
(a) Find the unit impulse repsonse ℎ(𝑛) of the filter.
(b) A new filter is defined so that its unit impulse resposne is 𝑔(𝑛) = ℎ(2𝑛). Find the
frequency resposne 𝐻 (𝑒 ) of this new system.
(c) What type of filter is it? [Hint: compare with the low pass filter respense discussed in
the class]
Page 1
6. A LSI system is described by the LCCDE 𝑦(𝑛) = 0.5𝑦(𝑛 − 1) + 𝑏𝑥(𝑛). Find the value of 𝑏
so that 𝐻 𝑒 is equal to 1 at 𝜔 = 0, also find the half-power point.
Note: Half power point is defined as the frequency at which 𝐻 𝑒 is equal to one-half of its
peak value which occurs at 𝜔 = 0.
7. If an input 𝑥(𝑛) = 𝑢(𝑛) is applied to a linear shit invariant (LSI) system, the output is
observed as 𝑦(𝑛) = 𝑢(𝑛). Find the impulse response ℎ(𝑛) of the system.
8. Compute the N-point DFTs of the following signals
(a) 𝑥(𝑛) = 𝛿(𝑛) 0<𝑛 <𝑁−1
(b) 𝑥(𝑛) = 1 0<𝑛 <𝑁−1
(c) 𝑥(𝑛) = sin( ) 0 < 𝑛 < 𝑁 − 1
9. Perform 4-point circular convolution of two sequences ℎ(𝑛) and 𝑥(𝑛) shown in figure below
10. Consider the sequence 𝑥(𝑛) = 𝛿(𝑛) + 2𝛿(𝑛 − 2) + 𝛿(𝑛 − 3).
(a) Find the 4-point DFT of 𝑥(𝑛).
(b) If 𝑦(𝑛) is the 4-point circular convolution of 𝑥(𝑛) with itself, find 𝑦(𝑛) and the 4-
point DFT 𝑌(𝑘).
(c) with ℎ(𝑛) = 𝛿(𝑛) + 𝛿(𝑛 − 1) + 2𝛿(𝑛 − 3), find the 4-point circular convolution of
𝑥(𝑛) with ℎ(𝑛).
Page 2