Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0 ratings
0% found this document useful (0 votes)
100 views
11 pages
Eee 221 Lab Manual 7 Convolution PDF
Uploaded by
Md Ibtida
AI-enhanced title
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Download
Save
Save eee_221_lab_manual_7_convolution_.pdf For Later
Share
0%
0% found this document useful, undefined
0%
, undefined
Print
Embed
Report
0 ratings
0% found this document useful (0 votes)
100 views
11 pages
Eee 221 Lab Manual 7 Convolution PDF
Uploaded by
Md Ibtida
AI-enhanced title
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Carousel Previous
Carousel Next
Download
Save
Save eee_221_lab_manual_7_convolution_.pdf For Later
Share
0%
0% found this document useful, undefined
0%
, undefined
Print
Embed
Report
Download
Save eee_221_lab_manual_7_convolution_.pdf For Later
You are on page 1
/ 11
Search
Fullscreen
DEPARTMENT OF ELECTRICAL & COMPUTER ENGINEERING NORTH SOUTH UNIVERSITY EEE 221, ETE 221 — Signals and Systems Experiment No: 07 ett OA In this lab we will lear to perform the convolution operation of two functions using MATLAB. The convolution between two functions and is actually an integral of the two functions f(t) and g(t) is written symbolically as For continuous system: yO =f) * 9) [-fe-ngwae For discrete system: le) = find = gla) =D? fla — me gi) This integral occurs so frequently in physical science and engineering that it has been given the special name convolution integral. Check Wikipedia [http://en.wikipedia.org/wiki/Convolution} for visual explanation of convolution. ‘There are two methods for analyzing the behavior or response of a Linear Time Invariant (LT1) System 1. Direct Solution by Difference equations 2. Through the Convolution Sum 4 Main Steps of Convolution: 1. Folding: Fold x(k) about k = 0 to obtain x(-k) 2. Shifting: Shift x(-k) by ‘n.’ to obtain x(no-k) 3. Multiplication: Multiply h(k) by x(no-k) to obtain a product sequence for the values of katno 4, Summation: Sum all the values of the product sequence to obtain the value of the output atn=no Repeat the procedure 3 and 4 to get responses at other values of n. EE 22, ETE 221 Lab (NSU) Eni nehnb osninnorsnchdeApplications of Convolution: © Signal processing © Image processing © System analysis © Network analysis © Filter design © Data analysis x(t) x(t) | OE t 7 hit) x) — w0-2fl ' T h(-t) x) 7 (te) i ty 7 tx) xq*h(d) 4 a T % % toh wt i 7 ran Butter Rat Inputimage Convo Feature map OCP -e 4 a -1 8 -1 co -1 -1 -1 at OOO Convolution using for loopand if-else statement Example: Evaluate the convolution integral of the following two signals x(t) = [1,1] and A(t) [ante] EE 22, ETE 221 Lab (NSU) Eni nehnb osninnorsnchdecle; clear all; us x input signal he= (111); system length (x); length (h) 7 [x, zeros (1,nh)}7 [h, zeros (1,nx)}7 % we will flip "h", our output will be "y for i 1: nhtnx-1 yi) = 07 for j = 1: 1: nx Le(i-j+1 > 0) ytd) = yi) 1 + x1(5) *hL (G-341)7 end end end y subplot (311) stem(x, 'b', grid on; xlim({-6 8]) "linewidth", 3) subplot (312) stem(h, 'r', grid on; xlim([-6 8]) "linewidth", 3) subplot (313) stem(y, 'ks', grid ony xlim([-6 8]) ‘Linewidth',2) 1 05 0 4 : 0 2 4 6 8 1 05 0 6 4 2 0 2 4 6 8 Litt 0 6 4 2 0 2 4 6 8 EE 22, ETE 221 Lab (NSU) Ei nehnb hsninortsoheConvolution Using Built In Function ‘conv’ MATLAB has a built in convolution function called ‘conv’ that computes the convolution between two finite duration sequence. It assumes that the two sequences begin at n=0 Example: Evaluate the convolution integral of the following two signals- x@ = [111] and Ae) cle; clear all; x= (114i; % input signal h=(11111; % system y = conv (x,h) subplot (311) stem(x, 'b', 'linewidth',3) grid on; xlim([-6 8]) subplot (312) stem(h, 'r', 'linewidth',3) grid on; xlim([-6 8]) subplot (313) stem(y, 'ks', 'linewidth',2) grid on; xlim([-6 8]) 1 05 ; 6 4 2 0 2 4 6 8 : 05 0 6 4 2 oO 2 4 6 8 4 ; LLyt ; : ? EE 22, ETE 221 Lab (NSU) ill mehrb hosingnorhsouhosAnother Example with Continuous Signals: x()=1, [0stsi] and ho) x(t)=0, [1
0) - (t>1)7 1 K = (U0) - (02207 Eh y = conv(h, x) subplot (311); xt) plot (t, h)? grid on 1 axis([-2 4 -0.5 1.51) title (h(t) ") : subplot (312); plot (t, x)? grid on axis([-2 4 -0.5 1.5]) y(t) title (x(t) ") subplot (313); plot (0:0.001:4, y); grid on axis([-2 4 -500 1500}) title('y(t)") 2 Problem with the built in ‘conv’ function “conv” function neither provides nor accepts any timing information if the sequence have arbitrary support. So we will write a MATLAB program which will have timing information along with the signal function. General Steps of Creating Timing Information: * Given finite duration x(n) and h(n), it is easy to determine these points, © Let {x(n):mx1
You might also like
Convolution Notes
PDF
No ratings yet
Convolution Notes
6 pages
Signals and Systems Unit 3
PDF
No ratings yet
Signals and Systems Unit 3
55 pages
Bio-Signal Processing Lab. Lec 1
PDF
100% (1)
Bio-Signal Processing Lab. Lec 1
36 pages
EEE 465 - PPT - 3
PDF
No ratings yet
EEE 465 - PPT - 3
12 pages
Signals and Systems Lab 3: Convolution Discrete Time Convolution
PDF
No ratings yet
Signals and Systems Lab 3: Convolution Discrete Time Convolution
14 pages
S&S Lab7
PDF
No ratings yet
S&S Lab7
23 pages
Signals, Spectra and Signal Processing Name: Date: Section: Rating: Exercise #04 The Convolution Sum
PDF
No ratings yet
Signals, Spectra and Signal Processing Name: Date: Section: Rating: Exercise #04 The Convolution Sum
8 pages
Experiment - 8
PDF
No ratings yet
Experiment - 8
18 pages
FINAL - Carpio - ECE104.1Lab 3 Convolution
PDF
No ratings yet
FINAL - Carpio - ECE104.1Lab 3 Convolution
15 pages
Homework Problem 1: Given X (N), Plot x2 (N) X (3-n) +X (N) X (n-2)
PDF
No ratings yet
Homework Problem 1: Given X (N), Plot x2 (N) X (3-n) +X (N) X (n-2)
10 pages
EXPERIMENT - 7 Word
PDF
No ratings yet
EXPERIMENT - 7 Word
11 pages
Convolution Sum
PDF
No ratings yet
Convolution Sum
5 pages
Sample
PDF
No ratings yet
Sample
10 pages
Automatic Tank Refil System Project
PDF
No ratings yet
Automatic Tank Refil System Project
10 pages
Lab 2
PDF
No ratings yet
Lab 2
7 pages
Experiment 8
PDF
No ratings yet
Experiment 8
7 pages
Lab 4 Discrete Convolution
PDF
No ratings yet
Lab 4 Discrete Convolution
12 pages
Lab 4 Discrete Convolution
PDF
No ratings yet
Lab 4 Discrete Convolution
12 pages
Convolution Theorem Project
PDF
No ratings yet
Convolution Theorem Project
8 pages
Ash Convolution 1
PDF
No ratings yet
Ash Convolution 1
7 pages
Practical Signal Processing
PDF
No ratings yet
Practical Signal Processing
23 pages
Experiment Number 7: Time Domain Signal Analysis Part 2 7.1 Objective
PDF
No ratings yet
Experiment Number 7: Time Domain Signal Analysis Part 2 7.1 Objective
4 pages
Ash Convolution 2
PDF
No ratings yet
Ash Convolution 2
5 pages
LAB2
PDF
No ratings yet
LAB2
3 pages
Exp 2
PDF
No ratings yet
Exp 2
7 pages
Ash Convolution
PDF
No ratings yet
Ash Convolution
4 pages
Project Exercise 2
PDF
No ratings yet
Project Exercise 2
5 pages
Digital Signal Processing Lab#3 Convolution of Discrete-Time Sequences
PDF
No ratings yet
Digital Signal Processing Lab#3 Convolution of Discrete-Time Sequences
4 pages
DSP Lab 2 Handout
PDF
No ratings yet
DSP Lab 2 Handout
6 pages
SNS Lab 4
PDF
No ratings yet
SNS Lab 4
6 pages
Eeng420 DSP Lab Experiment 3
PDF
No ratings yet
Eeng420 DSP Lab Experiment 3
8 pages
Convolution
PDF
No ratings yet
Convolution
4 pages
Lab Report 4 DSP
PDF
No ratings yet
Lab Report 4 DSP
7 pages
Lab 3
PDF
No ratings yet
Lab 3
20 pages
Lab Task 2
PDF
No ratings yet
Lab Task 2
12 pages
Experiment 3
PDF
No ratings yet
Experiment 3
2 pages
Convolution
PDF
No ratings yet
Convolution
5 pages
Homework Set 3 Solutions
PDF
No ratings yet
Homework Set 3 Solutions
15 pages
Assigment Signal and System
PDF
No ratings yet
Assigment Signal and System
6 pages
Lab 2
PDF
No ratings yet
Lab 2
2 pages
Convolution and Correlation
PDF
No ratings yet
Convolution and Correlation
11 pages
To Perform Linear Convolution Upon Two Given Discrete Time Signals
PDF
No ratings yet
To Perform Linear Convolution Upon Two Given Discrete Time Signals
1 page
Experiment-3: Convolution: Signals and Systems Lab (EC2P002)
PDF
No ratings yet
Experiment-3: Convolution: Signals and Systems Lab (EC2P002)
4 pages
Lab 5
PDF
No ratings yet
Lab 5
4 pages
DSP Exp2
PDF
No ratings yet
DSP Exp2
5 pages
Yt X HT D: Lecture 9: Convolution Evaluation: Continuous Time System
PDF
No ratings yet
Yt X HT D: Lecture 9: Convolution Evaluation: Continuous Time System
5 pages
Ss Lab 5
PDF
No ratings yet
Ss Lab 5
4 pages
Circular Convolution
PDF
No ratings yet
Circular Convolution
3 pages
Lab No 3
PDF
No ratings yet
Lab No 3
4 pages
DSP PGM
PDF
No ratings yet
DSP PGM
18 pages
Matlab Laboratory (ELEC 323) Session II: Convolution 1. Overview
PDF
No ratings yet
Matlab Laboratory (ELEC 323) Session II: Convolution 1. Overview
4 pages
Signals and Images (AC51024) - Lab 3 Convolution: Exercise 1: Polynomials & Convolution in M
PDF
No ratings yet
Signals and Images (AC51024) - Lab 3 Convolution: Exercise 1: Polynomials & Convolution in M
3 pages
Convolution, Continuous Harmonic Signals: Bounds of Sum
PDF
No ratings yet
Convolution, Continuous Harmonic Signals: Bounds of Sum
4 pages
LS102: Linear Time-Invariant Systems
PDF
No ratings yet
LS102: Linear Time-Invariant Systems
8 pages
Explaining Convolution Using MATLAB
PDF
No ratings yet
Explaining Convolution Using MATLAB
10 pages
Why The Study of Breakdown Mechanism in Gaseous Dielectric Is Essential?
PDF
No ratings yet
Why The Study of Breakdown Mechanism in Gaseous Dielectric Is Essential?
16 pages
M 14109
PDF
No ratings yet
M 14109
4 pages
Design Project: North South University EEE211: Digital Logic Design Spring - 2019
PDF
No ratings yet
Design Project: North South University EEE211: Digital Logic Design Spring - 2019
4 pages
North South University: School of Engineering & Physical Science
PDF
No ratings yet
North South University: School of Engineering & Physical Science
1 page
North South University: School of Engineering & Physical Science
PDF
No ratings yet
North South University: School of Engineering & Physical Science
1 page