Digital Signal Processing Laboratory: Experiment No. 6
Digital Signal Processing Laboratory: Experiment No. 6
Experiment No. 6
Sampling of Discrete Time Signals in MATLAB
Score
Submitted by
Disa, Mar Jose P.
10:30-1:30 / Fri / CL14
Submitted to
Engr. Giel G. Marar
Instructor
Date of Submission
March 13, 2020
Experiment No. 6
Sampling of Discrete Time Signals in MATLAB
I. OBJECTIVES
The objectives of this experiment, using the MATLAB software, are for the students:
a. To learn how to sample discrete time signals using MATLAB
b. To study the effect of changing different parameters of the signal in sampling
2
Draw the output below:
‘CLF’ command in MATLAB is used to reset the graph in the given figure. “t”
determines the minimum, maximum and range of the graph. f or the frequency of the graph,
determines the number of cycle to complete the given interval, next is an operation that does a
formula to a cosine wave or signal named 'xa'. Subplot (m, n, p) divides the current figure into an
m-by-n grid and creates axes in the position specified by p. plot command is used to display the
values indicate by the variables given. the x and y axis of the graph and the title or name of the
graph. The last line operation was the axis of the graph.
VI.CONCLUSION
On MATLAB this different parameters of the signal in sampling can be analyze, express
through graph and get a good output of sampling. MATLAB is useful throughout the Discrete
time signals even in sampling. In simulations, we may require to generate a continuous time
signal and convert it to a discrete domain by appropriate sampling. Multiple applications in
learning how to sample discrete time signals using MATLAB. Generating continuous signal and
sampling it at a given rate is demonstrated in this experiment. Manipulating the study in effect of
changing different parameters of the signal in sampling, MATLAB is a good choice on studying
and learning on Sampling of Discrete Time Signals.
3
4