Chittagong University of Engineering and Technology
Department of Electrical and Electronic engineering
Course Name: Digital Signal Processing Sessional
Course Code: EEE 366
List of the Experiments
Experiment Name of the Experiment
No.
1 Introduction to discrete time signal processing in MATLAB.
2 Time domain analysis of discrete time signals and systems.
3 Z-transform and Its Application.
4 Convolution and Its Application.
5 Frequency domain analysis of DT signals and systems (PART I).
6 Frequency domain analysis of DT signals and systems (PART II).
7 Frequency domain analysis of DT signals and systems (PART III).
8 FIR Filter Design
9 Some advanced topics in DSP.
Chittagong University of Engineering and Technology
Department of Electrical and Electronic engineering
Course Name: Digital Signal Processing Sessional
Course Code: EEE 496
Marks Distribution
Attendance 15
Class 90
Performance
Quiz 22.5
Viva 22.5
Total 150
Details of Class Performance
Report Writing 20
Daily 20
Evaluation
Labtest 20
Project 30 (+ 15
Bonus)
*** Auto/per -10
lab
Chittagong University of Engineering and Technology
Department of Electrical and Electronic engineering
Course Name: Digital Signal Processing Sessional
Course Code: EEE 366
Experiment no. 01: Introduction to discrete time signal processing in MATLAB.
PART A
Task 1 : Plotting delta function δ(n).
Task II: Plotting shifted delta function δ(n-n0).
Task III: Plotting unit step function u(n).
Task IV: Plotting shifted unit step function u(n-n0).
Task V: Plotting shifted ramp function r(n-n0)=(n-no) u(n-n0).
Task V1: Plotting a discrete time sequence x(n) = { 4, 2 ,-3, 6} .
Task VII: Generating Publication grade image(s).
Experiment no. 01: Introduction to discrete time signal processing in MATLAB.
PART B
Generation different features from a 2-D Matrix
Report-1:
1. Plot δ(n-n0), u(n-no) and r(n-n0) where n0 = last 3 digits of your ID . Select the values of n
(samples) to generate a well proportioned plot.
2. Plot a random discrete signal comprising all the basic signals (like, sinusoidal, ramp, delta,
impulse, exponential etc.) along with their various operations (scaling, shifting, addition,
subtraction, integration, differentiation etc.). Select the values of n (sample no.) to generate
a well proportioned plot.
N.B: Everyone should have different random signal. Do not copy each other.
3. Must use Pubplot to create images.
4. Report must be written in LATEX using Overleaf (An online Latex editor and compiler).
5. Students having ODD student ID will use IEEE Access templates for their report and having
EVEN ID will use Elsevier’s templates of Biomedical Signal Processing ans Control Journal
(available in online).
6. Attach your short biography with photo.
7. Use mandeley for References. (At least refer Proakis’s book and Oppenhiem’s book)
Report-2:
1. Create a 10 x 8 RANDOM matrix of integer. Hence calculate the following features for each
row of the matrix:
Mean, Median, variance, Skewness and Kurtosis.
2. Show your matrix and results in two separate tables in report.
3. Also mention the calculation formula of the above features in report.
4. Report must be written in LATEX using Overleaf (An online Latex editor and compiler).
5. Students having ODD student ID will use IEEE Access templates for their report and having
EVEN ID will use Elsevier’s templates of Biomedical Signal Processing ans Control Journal
(available in online).
6. Attach your short biography with photo.
7. Use mandeley for References. (At least refer Proakis’s book and Oppenhiem’s book)
Chittagong University of Engineering and Technology
Department of Electrical and Electronic engineering
Course Name: Digital Signal Processing Sessional
Course Code: EEE 366
Experiment no. 02: Time domain analysis of discrete time signals and systems.
Task Generate these 3 Functions
01:
Task Given that x1[n]={1 -2 3 -1 5} and x2[n] ={ 2 4 -1 3 5}
02
Plot x1[n] and x2[n].
Hence plot
i. y1[n]=x1[n-4];
ii. y2[n]=x2[-n];
iii. y3[n]=x1[n]+x2[n]; using above functions.
Task Plot y[n]=x[2n-3]. (Shifted and downsampled version of x[n])
03:
Output
:
TASK-4 Plot y[n]=x[n/3+2]
Task Write a function to calculate convolution of two discrete sequences.
o5:
Class Given that x[n]={-2, 1, 4,3}. Find y[n] using previous functions. Also verify
Task your result by hand calculation.
1. Calculate y[n]=x[n]*x[n-2].
2. Find y[n]=x[n]*x[-n]
3. Find y[n]=x[-2n+1]
4. Find y[n]=x[-n/2+3]
5. Find y[n]=x[-2n+1]*x[n]
Experiment-3
Autocorrelation
Example of correlation
Plotting a sinwave 1
Auto correlation of a sinwave 2
Adding Additive white Gaussian Noise with x 2
Execute: help awgn for detail 2
Autocorrelation of y 3
close all
clear all
clc
Fs=1000;
f=10;
t=0:1/Fs:1;
Plotting a sinwave
x=sin(2*pi*f*t);
figure,plot(t,x);
Auto correlation of a sinwave
rx=xcorr(x,x);
figure,plot(rx);
Adding Additive white Gaussian Noise with x
Execute: help awgn for detail
SNR=2; %% Use different SNR to observe the Effect
y=awgn(x,SNR,0);
figure,plot(y);
Autocorrelation of y
ry=xcorr(y,y);
figure,plot(ry)
DSP LAB EEE 496
Published with MATLAB® R2018a
Report: Explain Result with different SNR.
Prepared by-
Kamrul Hasan, Naqib Sad Pathan
© Dept. of EEE, CUET Supervised by-
Dr. Muhammad Ahsan Ullah