Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Assingment 4

Download as pdf or txt
Download as pdf or txt
You are on page 1of 5

EE314: Digital Signal Processing

Assignment No: 4

Course Instructor: Siddhartha Sarma Date: 11 Oct 2024

Prepared by: Kartikay, Ananya, Samannaya and Siddhartha


Submission deadline: 21 Oct 2024, 3 PM

Related topics:
• Sampling, Resampling
• Discrete-time processing of continuous-time signals
• Continuous-time processing of discrete-time signals

Notations:
• X(jΩ) represents the continuous-time Fourier transform (CTFT) of a signal x(t).
• X(ejω ) represents the discrete-time Fourier transform (DTFT) of a sequence x[n].
• δ[n], δ(t) denote discrete-time and continuous-time impulse functions, respectively.

1. The continuous-time signal

xc (t) = sin(20πt) + cos(40πt)

is sampled with a sampling period T to obtain the discrete-time signal


 πn   
2πn
x[n] = sin + cos .
5 5

(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. Consider a continuous-time signal xc (t) with Fourier transform Xc (jΩ) shown


in Fig 1.

(a) A continuous-time signal xr (t) is obtained through the process shown in


Fig.. First, xc (t) is multiplied by an impulse train of period T1 to produce
the waveform xs (t), i.e.,

X
xs (t) = x[n]δ(t − nT1 )
n=−∞

1
Xc (jΩ)


−Ω0 −2Ω0 /3 0 2Ω0 /3 Ω0

Figure 1: Fourier transform of the signal mentioned in Q.2

Next, xs (t) is passed through a low pass filter with frequency response
Hr (jΩ), as follows
(
T, |Ω| ≤ π/T1
Hr (jΩ) =
0, otherwise.

Determine the range of the values of T1 for which xc (t) = xr (t).

xs (t)
xc (t) × Hr (jΩ) xr (t)

P∞
n=−∞ δ(t − nT1 )

Figure 2: Conversion system for part (a)

(b) Consider the system in Figure 3. The system in this case is the same
as the one in part (a), except that the sampling period is now T2 . The
system Hs (jΩ) is some continuous-time ideal LTI filter. We want x0 (t) to
be equal to xc (t) for some choice of Hs (jΩ). Find all values of T2 for which
xo (t) = xc (t) is possible. For the largest T2 you determined that would
still allow recovery of xc (t), choose Hs (jΩ) so that xo (t) = xc (t). Sketch
Hs (jΩ).

x2 (t)
xc (t) × Hs (jΩ) xo (t)

P∞
n=−∞ δ(t − nT2 )

Figure 3: Conversion system for part (b)

3. Let hc (t) denote the impulse response of a linear time-invariant continuous-time


filter and hd [n] the impulse response of a linear time-invariant discrete-time
filter.

2
(a) If (
e−at , t ≥ 0,
hc (t) =
0, t < 0,
where a is a positive real constant, determine the continuous-time filter
frequency response and sketch its magnitude.
(b) If hd [n] = T hc (nT ) with hc (t) as in part (a), determine the discrete-time
filter frequency response and sketch its magnitude.
(c) For a given value of a, determine, as a function of T , the minimum mag-
nitude of the discrete-time filter frequency response.

4. In the system shown in Figure 4, hc (t) = δ(t − T /2).


(a) Suppose the input x[n] = sin πn

2
and T = 10. Find y[n].
(b) Suppose you use the same x[n] as in Part (a), but halve T to be 5. Find
the resulting y[n].
(c) In general, how does the continuous-time LTI system hc (t) limit the range
of the sampling period T that can be used without changing y[n]?

h[n], H(ejω )

x[n] xc (t) yc (t) y[n]


D/C hc (t), Hc (jΩ) C/D

T T

Figure 4: Block diagram of the system mentioned in Q. 4

5. A simple model of a multipath communication channel is indicated in Figure 5.


Assume that sc (t) is bandlimited such that Sc (jΩ) = 0 for |Ω| ≥ π/T and that
xc (t) is sampled with a sampling period T to obtain the sequence

x[n] = xc (nT ).

(a) Determine the Fourier transform of xc (t) and the Fourier transform of x[n]
in terms of Sc (jΩ).
(b) We want to simulate the multipath system with a discrete-time system by
choosing H(ejω ) in Figure 6 so that the output r[n] = xc (nT ) when the
input is s[n] = sc (nT ). Determine H(ejω ) in terms of T and τd .
(c) Determine the impulse response h[n] in Figure 6 when (i) τd = T and (ii)
τd = T /2.

3
sc (t) + xc (t) = sc (t) + αsc (t − τd )

α
Delay τd

Figure 5: Model of a multipath communication channel

H(ejω )
s[n] = sc (nT ) r[n] = xc (nT )

Figure 6: A discrete-time system corresponding to the multipath communication


channel

6. Each of the following parts lists an input signal x[n] and the upsampling and
downsampling rates L and M for the system in Figure 7. Determine the corre-
sponding output x̃d [n].

sin(2πn/3)
(a) x[n] = , L = 4, M = 3
πn
(b) x[n] = sin(3πn/4), L = 3, M = 5

Figure 7: Block diagram of an interpolator-decimator system

4
x[n]
xc (t) C/D D/C yc (t)

T1 T2

Figure 8: Block diagram of the system mentioned in Q.7.

7. In Figure 8, assume that Xc (jΩ) = 0, |Ω| ≥ Tπ1 . For the general case in which
T1 ̸= T2 in the system, express yc (t) in terms of xc (t). Is the basic relationship
different for T1 > T2 and T1 < T2 ?

8. Consider the discrete-time system shown in Fig 9 where

xe [n] ye [n]
x[n] ↑L H(ejω ) ↓M y[n]

Figure 9: Block diagram of the system mentioned in Q. 8.

(i) L and M are positive integers (iii) y[n] = ye [nM ]


( (
x[n/L], n = kL, k ∈ Z M, |ω| ≤ π/4
(ii) xe [n] = (iv) H(ejω ) =
0, otherwise 0, π/4 < |ω| ≤ π

(a) Assume L = 2 and M = 4, and X(ejω ), the DTFT of x[n], is real and is
as shown in the Fig. 10. Make an appropriately labeled sketch of Xe (ejω ),
Ye (ejω ), and Y (ejω ), the DTFTs of xe [n], ye [n], and y[n], respectively. Be
sure to clearly label salient amplitude and frequencies.

X(ejω )

ω
−π −π/2 π/2 π

Figure 10: Graphical representation of X(ejω )

(b) Now assume L = 2 and M = 8. Determine y[n] in this case.

All questions were taken from the following books


• Oppenheim, Schafer, “Discrete-time Signal Processing”, Pearson, 2nd and 3rd Ed

You might also like