Expt 03
Expt 03
Expt 03
Experiment No: 03
Experiment Name: Sampling Theorem using MATLAB Simulink
Objective:
Introduction:
Given a continuous sinusoidal signal s(t ) and a impulse train p(t ) , we can sample continuous signal
s(t ) by multiplying with p(t ) . Suppose the period of impulses in p(t ) is Ts and its corresponding
1
sampling frequency will be Fs . In addition, the continuous sinusoidal signal has frequency F .
Ts
In this section, we will discuss three cases,
From sampling theorem, sampling rate Fs should be equal or larger than twice frequency of
sinusoidal signal F . i.e., Fs 2F . For our Simulink configuration, we set the sinusoidal signal
frequency as 500Hz and we give three sampling frequencies, 500Hz, 1kHz and 10kHz. For Nyquist
theorem, if the sampling rate is smaller, it will result in aliasing. If the sampling rate is larger than the
Nyquist rate, it will result in imaging. Hence, in this section, we want to give a true simulation of
sampling a continuous sinusoidal signal and give discussion in “Time Domain”.
Page | 1
Lab Work:
Instructions:
You can take the blocks from the Simulink Library Browser.
The blocks that you will use in this experiment can be taken from the following mentioned
library:
Sine Wave: Simulink SourcesSine wave
Pulse Generator: Simulink SourcesPulse Generator
Product: SimulinkMath operationsProduct
Scope: SimulinkSinksScope
Sine wave:
Sine type: Time based
Amplitude: 5.0
Frequency: 2*pi*500 rad/sec
Sample time: 1/1000000
Pulse Generator:
Pulse type: Time based
Amplitude: 1.0
Period (secs): 0.0001
Pulse width (% of period): 0.1
Simulation Models
Page | 2
Fig: Sine wave Fig: Impulse Train
Report:
1. At first regenerate the model shown in the experiment. Then build the model for
reconstruction on top of that. Show all the waveshapes in the report of the full model.
2. Explore natural sampling and show the waveshapes in the report.
Page | 3