Problem Solving: Example 1
Problem Solving: Example 1
Problem Solving
• Engr. Leonardo Valiente, Jr.
• School of EECE
Example 1
• Consider the anaIog signal
𝑥 𝑡 = 5 cos 200π𝑡
• (a) Determine the minimum sampling rate required to avoid aliasing.
• (b) Suppose that the signal is sampled at the rate Fs= 400 Hz. What is the
discrete-time signal obtained after sampling?
• (c) Suppose that the signal is sampled at the rate Fs = 150 Hz. What is
the discrete- time signal obtained after sampling?
• (d) What is the frequency 0 < F < Fs/2 of a sinusoid that yields samples
identical to those obtained in part (c)?
LDValiente 2
LDVALIENTE 1
MAPUA UNIVERSITY SY20212022 11/18/2021
𝑥 𝑡 = 5 cos 200π𝑡
(a) Determine the minimum sampling rate required to avoid aliasing.
𝑥 𝑡 = 5 cos 200π𝑡
(b) Suppose that the signal is sampled at the rate Fs= 400 Hz. What is the
discrete-time signal obtained after sampling?
• 𝑥 𝑛 = 5 cos 2π ( )𝑛
• 𝑥 𝑛 = 5 cos 2π ( )𝑛
• 𝑥 𝑛 = 5 cos ( )𝑛
LDVALIENTE 2
MAPUA UNIVERSITY SY20212022 11/18/2021
𝑥 𝑡 = 5 cos 200π𝑡
(c) Suppose that the signal is sampled at the rate Fs = 150 Hz. What is
the discrete- time signal obtained after sampling?
• 𝑥 𝑛 = 5 cos 2π ( )𝑛 𝑥 𝑛 = 5 cos 𝑛 2π
𝑥 𝑛 = 5 cos ( ) 𝑛
3
• 𝑥 𝑛 = 5 cos 2π( )𝑛
𝑥 𝑛 = 5 cos 2π − ( ) 𝑛 1
𝑜𝑟 𝑥 𝑛 = 5 cos 2π( ) 𝑛
• 𝑥 𝑛 = 5 cos ( )π𝑛 3
𝑥 𝑛 = 5 cos − ( ) 𝑛
𝑥 𝑡 = 5 cos 200π𝑡
(d) What is the frequency 0 < F < Fs/2 of a sinusoid that yields samples
identical to those obtained in part (c)?
• F = f * Fs
= ( )*150
• F= 50 Hz
LDValiente 6
LDVALIENTE 3
MAPUA UNIVERSITY SY20212022 11/18/2021
Example 2
Consider the analog signal
LDValiente 7
Example 3
LDValiente 8
LDVALIENTE 4
MAPUA UNIVERSITY SY20212022 11/18/2021
LDValiente 9
LDValiente 10
LDVALIENTE 5
MAPUA UNIVERSITY SY20212022 11/18/2021
Example 4
LDValiente 11
• 𝑥 (t) = A cos(2π f t)
• cos(2π f t) = cos(5t)
• 2π f t = 5t
• 2π f = 5
• f = 5 / 2π
• Non-periodic
LDValiente 12
LDVALIENTE 6
MAPUA UNIVERSITY SY20212022 11/18/2021
• 𝑥 (n) = A cos(2π f n)
• cos(2π f n) = cos(5n)
• 2π f n = 5n
• 2π f = 5
• f = 5 / 2π
• Non-periodic
LDValiente 13
𝑥 (n) = A cos(2π f n)
2π f n = n/6
2π f = 1/6
f = 1 / (12π)
• Non-periodic
LDValiente 14
LDVALIENTE 7
MAPUA UNIVERSITY SY20212022 11/18/2021
LDValiente 15
LDValiente 16
LDVALIENTE 8
MAPUA UNIVERSITY SY20212022 11/18/2021
Example 5
• Calculate the fundamental period and the fundamental frequency of
x(t) = sin(6πt) + cos(5πt)
LDValiente 17
Example 6
• An analog signal contains frequencies up to 10 kHz.
• (a) What range of sampling frequencies allows exact reconstruction of this
signal from its samples?
• (b) Suppose that we sample this signal with a sampling frequency Fs= 8
kHz. Examine what happens to the frequency 𝐹 = 5 kHz.
• (c) Repeat part (b) for a frequency 𝐹 = 9 kHz.
LDValiente 18
LDVALIENTE 9
MAPUA UNIVERSITY SY20212022 11/18/2021
Fs ≥ 2 fmax
Fs ≥ 2(10kHz)
= 20 kHz
LDValiente 19
Fs ≥ 2 fmax
F fold = Fs/2
= 8kHz / 2
= 4kHz
Alias will occur then, 8kHz – 5 kHz
= 3 kHz
LDValiente 20
LDVALIENTE 10
MAPUA UNIVERSITY SY20212022 11/18/2021
Fs ≥ 2 fmax
F fold = Fs/2
= 8kHz / 2
= 4kHz
The signal will be, 9kHz – 8 kHz
= 1 kHz
LDValiente 21
Example 7
• Determine the bit rate and the resolution in the sampling of a seismic
signal with dynamic range of 1 volt if the sampling rate is Fs = 20 samples
and we use an 8-bit AD converter. What is the maximum frequency that
can be present in the resulting digital seismic signal?
= 0.00392 fmax = 10 Hz
LDValiente 22
LDVALIENTE 11