0% found this document useful (0 votes)
29 views6 pages

Lab 5 Group 11

The document discusses a lab experiment on sampling and aliasing. The objectives are to simulate sampling of a sinusoid using MATLAB, plot the sampled signal based on sampling frequency, and observe the frequency spectrum. The procedure involves running MATLAB code to sample a 10Hz sinusoid at various frequencies and observing the output. The minimum sampling frequency to avoid aliasing is determined to be 20Hz.

Uploaded by

Zam Skema
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
29 views6 pages

Lab 5 Group 11

The document discusses a lab experiment on sampling and aliasing. The objectives are to simulate sampling of a sinusoid using MATLAB, plot the sampled signal based on sampling frequency, and observe the frequency spectrum. The procedure involves running MATLAB code to sample a 10Hz sinusoid at various frequencies and observing the output. The minimum sampling frequency to avoid aliasing is determined to be 20Hz.

Uploaded by

Zam Skema
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

FAKULTI TEKNOLOGI KEJURUTERAAN

ELEKTRIK DAN ELEKTRONIK


UNIVERSITI TEKNIKAL MALAYSIA MELAKA

DISCRETE SIGNAL & SYSTEMS

BEET 2343 SEMESTER 2 SESSION 2022/2023

LAB 5: SAMPLING AND ALIASING

1. ZAM FIZUAN BIN MOHD NIZAM B082210462


NAME OF GROUP
MEMBER(S) & 2. MUHAMMAD SYAHMI AMIRUL BIN ZULKIFLE B082210061
MATRIX NUMBER(S)
3. MEGAT MUHAMMAD IRFAN BIN MEGAT NOR
B082210120
EZHAR

COURSE 2 BEET 3/1

DATE 13/6/2023

1. DR. NOR AZLAN BIN MOHD ARIS


NAME OF INSTRUCTOR(S)
2. MOHD ALI MUSA BIN SARIF

EXAMINER’S COMMENT(S) VERIFICATION STAMP

TOTAL MARKS
1.0 OBJECTIVES

1. To simulate the sampling of a sinusoid using MATLAB.


2. To plot the sampled sinusoid based on the specific sampling frequency.
3. To observe the frequency spectrum of the sampled signal.

2.0 EQUIPMENT

MATLAB® software.

3.0 SYNOPSIS& THEORY

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

1. Run the following program in MATLAB.

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

5.0 SIMULATION/EXPERIMENT RESULTS

Signal Sampling
Frequency Frequency Output
(Hz) (Hz)

10 8

10 10

4
10 20

10 80

10 100

5
10 950

6.0 QUESTION & DISCUSSION

1. Based on the experiment, what is the minimum sampling frequency to


avoid aliasing?

20

2. Discuss the results based on your observation.

Based on the table result, there is no aliasing on the 20Hz to 950Hz


because it is within the range of signal frequency. To make sure the signal
to not aliasing the sampling frequency need to double from signal frequency
or higher.

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.

You might also like