(EC-3096)
Spring 2020
School of Electronics Engineering
, Digital Signal Processing Lab(EC-3096)
SL.No. List of Experiments
1. Familiarization of MATLAB and basic commands like Matrix
operation,condition,loop,function etc.Generation and plotting of
basic signals and operation on them.
2. Solution of difference equation to analyze an LTI system.(using
filter command and also using z-transform method) and
perform linear convolution and correlation.
3. Determine DTFT of any discrete sequence and verify the
different properties of the DTFT also determine the frequency
of a sinusoidal signal using DTFT.
4. Obtain DFT ,IDFT of the two discrete sequence and determine
circular convolution of them using matrix method as well as
using the convolution property of DFT.
5. Obtain linear convolution using sectional convolution methods
such as overlap add and overlap save.
6. Overview of DSP processors and code composer studio (CCS
v-5) & write a program to generate different standard test
signals(Impulse,step,ramp etc) and also design and implement
linear convolution and circular convolution using DSK-6713
processor kit.
7. Realization of FIR and IIR filters using fdatool and design
application specific filters.
8. Perform up-sampling and down sampling operation and also
their frequency analysis.
,Experiment no. 01
Date of Experiment 15.01.2020
Date of submission 29.01.2020
Name of student Dinika
AIM OF THE EXPERIMENT :
Familiarization of MATLAB and basic commands like Matrix operation, condition,
loop, function etc. Generation and Plotting of basic signals and operations
on them.
THEORY:
MATLAB (matrix laboratory) is a multi-paradigm numerical computing environment
and proprietary programming language developed by MathWorks. MATLAB allows
matrix manipulations, plotting of functions and data, implementation of algorithms,
creation of user interfaces, and interfacing with programs written in other languages.
Although MATLAB is intended primarily for numerical computing, an optional
toolbox uses the MuPAD symbolic engine allowing access to symbolic computing
abilities. An additional package, Simulink, adds graphical multi-domain simulation
and model-based design for dynamic and embedded systems.
Question 1(a):
For a given matrix A and B , find the value of C , where C = A * B and also find the
second row and third column of matrix C.
Matlab Code:
clc
clear all
close all
a = [2 1 0;0 1 3;1 1 7]
b =[4 5 6;2 1 7;0 0 1]
c = a*b
e = c(2,:)
d= c(:,3)
OUTPUT:
c=
10 11 19
2 1 10
, 6 6 20
e=
2 1 10
d=
19
10
20
Question 1(b):
Plot signal y = 10sin(wt) from t=0 to t=10 sec where w=5.
Matlab Code :
clc
clear all
close all
w=5
t= 0:0.01:10
for i=1:length(t)
y(i)= 10*sin(w*t(i))
end
plot(t,y)
title('sine wave ')
xlabel('time')
ylabel('amplitude')
Output:
Question 1(c):