Lab 5 Group 11
Lab 5 Group 11
DATE 13/6/2023
TOTAL MARKS
1.0 OBJECTIVES
2.0 EQUIPMENT
MATLAB® software.
A continuous time signal can be represented in its samples and can be recovered
back when sampling frequency fs is greater than or equal to the twice the highest
frequency component of message signal, fm. i. e.:
𝑓𝑠 ≥ 2𝑓𝑚
If the sampling frequency (fs) equals twice the input signal frequency (fm), then such
a condition is called the Nyquist Criteria for sampling. When sampling frequency
equals twice the input signal frequency is known as “Nyquist rate”.
𝑓𝑠 = 2𝑓𝑚
If the sampling frequency (fs) is less than twice the input signal frequency, such
criteria called an Aliasing effect.
𝑓𝑠 < 2𝑓𝑚
2
4.0 PROCEDURE
2. Write down the frequency of the signal and the sampling frequency and
paste the output figure in the Simulation Results section.
3
3. Change the sampling frequency, fs as follow and paste the output figures
in the Simulation/Experiment Results section:
a. 8 Hz
b. 10 Hz
c. 20 Hz
d. 80 Hz
e. 100 Hz
Signal Sampling
Frequency Frequency Output
(Hz) (Hz)
10 8
10 10
4
10 20
10 80
10 100
5
10 950
20
7.0 CONCLUSION
In the end of the lab sesion, we able to simulate the sampling of a sinusoid
using MATLAB. Other than that, we able to plot the sampled sinusoid based on the
specific sampling frequency. Lastly, we able to observe the frequency spectrum of
the sampled signal.