Tutorial Sheet 1 Solution
Tutorial Sheet 1 Solution
Tutorial Sheet 1 Solution
Nasser, 2022/2023
1. Find the Nyquist rate and Nyquist interval for the signal f(t) = 1 + sinc300πt.
Solution:
Frequency, ωm = 300π
2πfm = 300π
2fm = 300 Hz
Nyquist rate, Fs = 2fm = 300 Hz
Nyquist interval, T = 12fm=1300 = 3.3 msec.
2. The sampling frequency of a signal is Fs = 2000 samples per second. Find its Nyquist
interval.
Solution:
Explanation: Given Fs = 2000 samples per second
Nyquist interval, T = 1Fs=12000 = 0.5 msec.
Solution:
Highest frequency component in 1 is zero
Highest frequency component in cos(2000πt) is ωm1 = 2000π
Highest frequency component in sin(4000πt) is ωm2 = 4000π
So the maximum frequency component in x(t) is ωm = 4000π [highest of 0, 2000π, 4000π]
∴ 2πfm = 4000π
2fm = 4000
Nyquist rate, Fs = 2fm = 4000 Hz
4. Find the Nyquist rate and Nyquist interval for the signal
1
𝑥(𝑡) = cos(4000𝜋𝑡) cos(1000𝜋𝑡)
2𝜋
Solution:
The above equation may be expressed as:
1 1
𝑥(𝑡) = ( (cos(4000𝜋 + 1000𝜋)𝑡) + cos(4000𝜋 − 1000𝜋)𝑡)))
2𝜋 2
1
𝑥(𝑡) = (cos(5000𝜋𝑡) + cos(3000𝜋𝑡))
4𝜋
The highest frequency component in this signal is:
5000𝜋
𝑓𝑚𝑎𝑥 = = 2500𝐻𝑧
2𝜋
Page 1 of 10
Advanced Digital Systems Tutorial Sheet 1 Solution S. Nasser, 2022/2023
5. Let x[n] be a signal with x[n] = 0 for n < -2 and n > 4. For each signal given below, determine
the values of n for which it is guaranteed to be zero.
a) 𝑥[𝑛 − 3]
b) 𝑥[𝑛 + 4]
c) 𝑥[−𝑛]
d) 𝑥[−𝑛 − 2]
Solution:
a) 𝑛 < 1and 𝑛 > 7
b) 𝑛 < −6 and 𝑛 > 0
c) 𝑛 < −4 and 𝑛 > 2
d) 𝑛 < −6 and 𝑛 > 0
6. A discrete-time signal 𝑥[𝑛] is shown below. Sketch and label each of the following signals.
a) 𝑥[𝑛 − 2]
b) 𝑥[2𝑛]
c) 𝑥[−𝑛]
d) 𝑥[−𝑛 + 2]
Page 2 of 10
Advanced Digital Systems Tutorial Sheet 1 Solution S. Nasser, 2022/2023
Solution:
Solution:
It is easier to take the graphical approach for this problem. The signal x(t) is plotted in
figure 1 (a) below. Figures 1(b) to (d) give plots of the resultant sampled sequences
obtained for the three specified sampling intervals.
a) 𝑇𝑆 = 0.25𝑠. From figure 1 (b), we obtain:
Page 3 of 10
Advanced Digital Systems Tutorial Sheet 1 Solution S. Nasser, 2022/2023
Figure 1
8. Using the discrete-time signals 𝑥1 [𝑛] and 𝑥2 [𝑛] shown below, represent each of the
following signals by a graph and by a sequence of numbers.
Solution:
a) 𝑦1 [𝑛] is sketched in figure 2(a). From figure 2(a), we obtain:
Page 4 of 10
Advanced Digital Systems Tutorial Sheet 1 Solution S. Nasser, 2022/2023
Figure 2
10. * Determine whether the following signals are energy signals, power signals, or neither.
a) 𝑥[𝑛] = (−0.5)𝑛 𝑢[𝑛]
b) 𝑥[𝑛] = 𝑢[𝑛]
c) 𝑥[𝑛] = 2𝑒 𝑗3𝑛
Solution:
a) 𝐸 = ∑∞ 𝑛=−∞|𝑥[𝑛]|
2
∞ 1 4
=∑ 0.25𝑛 = = <∞
𝑛=0 1 − 0.25 3
Thus, x[n] is an energy signal
Page 5 of 10
Advanced Digital Systems Tutorial Sheet 1 Solution S. Nasser, 2022/2023
b)
𝑁
1
𝑃 = lim ∑ |𝑥[𝑛]|2
𝑁→∞ 2𝑁 + 1
𝑛=−𝑁
𝑁
1 1 1
= lim ∑ 12 = lim (𝑁 + 1) = < ∞
𝑁→∞ 2𝑁 + 1 𝑁→∞ 2𝑁 + 1 2
𝑛=0
Thus, 𝑥[𝑛] is a power signal.
c) Since |𝑥[𝑛]| = |2𝑒 𝑗3𝑛 | = 2
𝑁
1
𝑃 = lim ∑ |𝑥[𝑛]|2
𝑁→∞ 2𝑁 + 1
𝑛=−𝑁
𝑁
1 1
= lim ∑ 22 = lim 4(2𝑁 + 1) = 4 < ∞
𝑁→∞ 2𝑁 + 1 𝑁→∞ 2𝑁 + 1
𝑛=−𝑁
Thus, 𝑥[𝑛] is a power signal
Solution:
Let 𝑥𝑒 (𝑡) and 𝑥𝑜 (𝑡) be the even and odd components of 𝑒 𝑗𝑡 , respectively
𝑒 𝑗𝑡 = 𝑥𝑒 (𝑡) + 𝑥𝑜 (𝑡)
1
𝑥𝑒 (𝑡) = (𝑒 𝑗𝑡 + 𝑒 −𝑗𝑡 ) = cos(𝑡)
2
1
𝑥𝑜 (𝑡) = (𝑒 𝑗𝑡 − 𝑒 −𝑗𝑡 ) = 𝑗 sin(𝑡)
2
Page 6 of 10
Advanced Digital Systems Tutorial Sheet 1 Solution S. Nasser, 2022/2023
12. Show that the product of two even signals or of two odd signals is an even signal and that
the product of an even and an odd signal is an odd signal.
Solution:
Solution:
By the definition of periodicity, 𝑥[𝑛] will be periodic if:
𝑒 𝑗Ω𝑜 (𝑛+𝑁) = 𝑒 𝑗Ω𝑜 𝑛 𝑒 𝑗Ω𝑜 𝑁 = 𝑒 𝑗Ω𝑜 𝑛
Or
𝑒 𝑗Ω𝑜 𝑁 = 1(1)
Equation (1) holds only if:
Ω𝑜 𝑁 = 𝑚2𝜋𝑤ℎ𝑒𝑟𝑒𝑚 = 𝑝𝑜𝑠𝑖𝑡𝑖𝑣𝑒𝑖𝑛𝑡𝑒𝑔𝑒𝑟
Or
Ω𝑜 𝑚
= = 𝑟𝑎𝑡𝑖𝑜𝑛𝑎𝑙𝑛𝑢𝑚𝑏𝑒𝑟
2𝜋 𝑁
Thus, 𝑥[𝑛] is periodic only if Ω𝑜 /2𝜋 is a rational number
14. Let 𝑥1 [𝑛] and 𝑥2 [𝑛] be periodic sequences with fundamental periods 𝑁1 and 𝑁2 ,
respectively. Under what conditions is the sum 𝑥[𝑛] = 𝑥1 [𝑛] + 𝑥2 [𝑛] periodic, and what is
the fundamental period of x[n] if it is periodic?
Solution:
Since 𝑥1 [𝑛] and 𝑥2 [𝑛] are periodic with fundamental periods N, and N2, respectively, we
have:
Page 7 of 10
Advanced Digital Systems Tutorial Sheet 1 Solution S. Nasser, 2022/2023
Thus,
15. Determine whether or not each of the following signals is periodic. If a signal is periodic,
determine its fundamental period.
𝜋
𝑗( )𝑛
a) 𝑥[𝑛] = 𝑒 4
1
b) 𝑥[𝑛] = cos (4 𝑛)
𝜋 𝜋
c) 𝑥[𝑛] = cos ( 3 𝑛) + sin (4 𝑛)
𝜋
d) 𝑥[𝑛] = cos2 ( 8 𝑛)
Solution:
𝜋
𝑗( )𝑛 𝜋
a) 𝑥[𝑛] = 𝑒 4 = 𝑒 𝑗Ω𝑜 𝑛 → Ω𝑜 = 4
Since Ω𝑜 /2𝜋=1/8 is a rational number, 𝑥[𝑛] is periodic and the fundamental period is 𝑁𝑜 =
8.
1 1
b) 𝑥[𝑛] = cos 4 𝑛 = cos Ω𝑜 𝑛 → Ω𝑜 = 4
Ω
Since 2𝜋𝑜 = 1/8𝜋 is not a rational number, 𝑥[𝑛] is nonperiodic
𝜋 𝜋
c) 𝑥[𝑛] = cos 3 𝑛 + sin 4 𝑛 = 𝑥1 [𝑛] + 𝑥2 [𝑛]
Where
𝜋 𝜋
𝑥1 [𝑛] = cos 𝑛 = cos Ω1 𝑛 → Ω1 =
3 3
𝜋 𝜋
𝑥2 [𝑛] = sin 𝑛 = sin Ω2 𝑛 → Ω2 =
4 4
Ω 1
Since 2𝜋1 = 6 (= rational number), 𝑥1 [𝑛] is periodic with fundamental period 𝑁1 = 6, and
Ω 1
since 2𝜋2 = 8 (= rational number), 𝑥2 [𝑛] is periodic with fundamental period 𝑁2 = 8. Thus,
fundamental period is the least common multiple of 6 and 8, that is, 𝑁𝑜 = 24.
16. A discrete-time signal x[n] is shown. Sketch and label each of the following signals:
a) 𝑥[𝑛]𝑢[1 − 𝑛]
b) 𝑥[𝑛]{𝑢[𝑛 + 2] − 𝑢[𝑛]}
c) 𝑥[𝑛]𝛿[𝑛 − 1]
Page 8 of 10
Advanced Digital Systems Tutorial Sheet 1 Solution S. Nasser, 2022/2023
Solution:
a)
1 𝑛≤1
𝑢[1 − 𝑛] = { }
0 𝑛>1
And 𝑥[𝑛]𝑢[1 − 𝑛] is sketched in figure 3(a)
b)
1 −2 ≤ 𝑛 < 0
𝑢[𝑛 + 2] − 𝑢[𝑛] = { }
0 𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒
And 𝑥[𝑛]{𝑢[𝑛 + 2] − 𝑢[𝑛]} is sketched in figure 3(b)
c)
1 𝑛=1
𝑥[𝑛]𝛿[𝑛 − 1] = 𝑥[1]𝛿[𝑛 − 1] = 𝛿[𝑛 − 1] = { }
0 𝑛≠1
Sketched in figure 3(c)
Figure 3
Page 9 of 10
Advanced Digital Systems Tutorial Sheet 1 Solution S. Nasser, 2022/2023
Solution:
a) 𝑥[𝑛] = 𝑢[𝑛] − 𝑢[𝑛 − (𝑁 + 1)]
b) 𝑥[𝑛] = −𝑢[−𝑛 − 1]
c) 𝑥[𝑛] = 𝑢[𝑛 + 2] − 𝑢[𝑛 − 4]
Solution:
a) No
b) Yes
Solution:
35
Page 10 of 10