SlideShare a Scribd company logo
1 of 23
Download to read offline
Impulse Response Review A Signal is Made of Impulses Graphical Convolution Properties of Convolution
Lecture 9: Convolution
ECE 401: Signal and Image Analysis
University of Illinois
3/2/2017
Impulse Response Review A Signal is Made of Impulses Graphical Convolution Properties of Convolution
1 Impulse Response Review
2 A Signal is Made of Impulses
3 Graphical Convolution
4 Properties of Convolution
Impulse Response Review A Signal is Made of Impulses Graphical Convolution Properties of Convolution
Outline
1 Impulse Response Review
2 A Signal is Made of Impulses
3 Graphical Convolution
4 Properties of Convolution
Impulse Response Review A Signal is Made of Impulses Graphical Convolution Properties of Convolution
Impulse Response
The “impulse response” of a system, h[n], is the output that
it produces in response to an impulse input.
Definition: if and only if x[n] = δ[n] then y[n] = h[n]
Given the system equation, you can find the impulse response
just by feeding x[n] = δ[n] into the system.
If the system is linear and time-invariant (terms we’ll define
later), then you can use the impulse response to find the
output for any input, using a method called convolution that
we’ll learn in two weeks.
For today, let’s get some practice at finding the impulse
response from the system equation.
Impulse Response Review A Signal is Made of Impulses Graphical Convolution Properties of Convolution
Impulse Response Review
Here is a system. What is its impulse response?
y[n] =
1
3
(x[n − 1] + x[n] + x[n + 1])
Impulse Response Review A Signal is Made of Impulses Graphical Convolution Properties of Convolution
Outline
1 Impulse Response Review
2 A Signal is Made of Impulses
3 Graphical Convolution
4 Properties of Convolution
Impulse Response Review A Signal is Made of Impulses Graphical Convolution Properties of Convolution
Shifted Impulse Response
Suppose some system has impulse response h[n].
Suppose we put in the input x[n] = δ[n − 3].
Then the output will be y[n] = h[n − 3].
Example:
h[n] =

0.33333 −1 ≤ n ≤ 1
0 otherwise
Impulse Response Review A Signal is Made of Impulses Graphical Convolution Properties of Convolution
Scaled Impulse Response
Suppose some system has impulse response h[n].
Suppose we put in the input x[n] = 15δ[n − 3].
Then the output will be y[n] = 15h[n − 3].
Example:
h[n] =

0.33333 −1 ≤ n ≤ 1
0 otherwise
Impulse Response Review A Signal is Made of Impulses Graphical Convolution Properties of Convolution
Scaled Impulse Response
Suppose some system has impulse response h[n].
Suppose we put in the input x[n] = x[3]δ[n − 3].
Then the output will be y[n] = x[3]h[n − 3].
Example:
h[n] =

0.33333 −1 ≤ n ≤ 1
0 otherwise
Impulse Response Review A Signal is Made of Impulses Graphical Convolution Properties of Convolution
Adding Impulse Responses
Suppose some system has impulse response h[n].
Suppose we put in the input x[n] = x[3]δ[n − 3] + x[4]δ[n − 4].
Then the output will be y[n] = x[3]h[n − 3] + x[4]h[n − 4].
Example:
h[n] =

0.33333 −1 ≤ n ≤ 1
0 otherwise
Impulse Response Review A Signal is Made of Impulses Graphical Convolution Properties of Convolution
Adding Impulse Responses
Suppose some system has impulse response h[n].
Suppose we put in the input
x[n] =
∞
X
m=−∞
x[m]δ[n − m]
Then the output will be
y[n] =
∞
X
m=−∞
x[m]h[n − m]
Example:
h[n] =

0.33333 −1 ≤ n ≤ 1
0 otherwise
Impulse Response Review A Signal is Made of Impulses Graphical Convolution Properties of Convolution
Adding Impulse Responses
Suppose some system has impulse response h[n].
Suppose we put in the input
x[n] =
∞
X
m=−∞
x[m]δ[n − m]
Then the output will be
y[n] =
∞
X
m=−∞
x[m]h[n − m]
Example:
h[n] =

0.33333 −1 ≤ n ≤ 1
0 otherwise
Impulse Response Review A Signal is Made of Impulses Graphical Convolution Properties of Convolution
Definition of Convolution
Here’s the trick: x[n] is always equal to
x[n] =
∞
X
m=−∞
x[m]δ[n − m]
Therefore y[n] is always equal to
y[n] =
∞
X
m=−∞
x[m]h[n − m]
The above algorithm is called “convolution,” and it has a
special symbol:
y[n] = h[n] ∗ x[n]
Impulse Response Review A Signal is Made of Impulses Graphical Convolution Properties of Convolution
Definition of Convolution
Definition of Convolution
h[n] ∗ x[n] =
∞
X
m=−∞
x[m]h[n − m]
Impulse Response Review A Signal is Made of Impulses Graphical Convolution Properties of Convolution
Outline
1 Impulse Response Review
2 A Signal is Made of Impulses
3 Graphical Convolution
4 Properties of Convolution
Impulse Response Review A Signal is Made of Impulses Graphical Convolution Properties of Convolution
Time Reversal
Suppose we try to plot h[−m] as a function of m. The result looks
like h[m], but flipped around in time. Example:
h[m] =

1 0 ≤ m ≤ 3
0 otherwise
h[−m] =

1 −3 ≤ m ≤ 0
0 otherwise
Impulse Response Review A Signal is Made of Impulses Graphical Convolution Properties of Convolution
Shifted Reversal
Suppose we try to plot h[n − m] as a function of m. The result
looks like h[m], but flipped in time, and shifted by n. Example:
h[m] =

1 0 ≤ m ≤ 3
0 otherwise
h[n − m] =

1 n − 3 ≤ m ≤ n
0 otherwise
Impulse Response Review A Signal is Made of Impulses Graphical Convolution Properties of Convolution
Graphical Convolution
Suppose we’re trying to calculate the function y[n]. The way we
do it is:
Plot x[m] as a function of m.
For each interesting value of n (do as many as necessary, until
we understand the whole pattern)
Plot h[n − m] as a function of m.
Plot x[m]h[n − m] as a function of m.
Compute y[n] =
P
x[m]h[n − m]
Example:
h[m] =

1 0 ≤ m ≤ 3
0 otherwise
x[m] =

1 0 ≤ m ≤ 3
0 otherwise
Impulse Response Review A Signal is Made of Impulses Graphical Convolution Properties of Convolution
Outline
1 Impulse Response Review
2 A Signal is Made of Impulses
3 Graphical Convolution
4 Properties of Convolution
Impulse Response Review A Signal is Made of Impulses Graphical Convolution Properties of Convolution
Properties of Convolution: Commutative
h[n] ∗ x[n] = x[n] ∗ h[n]
Putting it another way,
∞
X
m=−∞
x[m]h[n − m] =
∞
X
m=−∞
h[m]x[n − m]
Impulse Response Review A Signal is Made of Impulses Graphical Convolution Properties of Convolution
Properties of Convolution: Shift
Suppose
y[n] = h[n] ∗ x[n]
Then
y[n − n0] = h[n − n0] ∗ x[n] = h[n] ∗ x[n − n0]
In other words, if you shift the input or the impulse response, then
the output gets shifted. If you shift both the input and impulse
response, then the output gets shifted twice:
y[n − 2n0] = h[n − n0] ∗ x[n − n0]
Impulse Response Review A Signal is Made of Impulses Graphical Convolution Properties of Convolution
Properties of Convolution: Scaling
Suppose
y[n] = h[n] ∗ x[n]
Then
Ay[n] = (Ah[n]) ∗ x[n] = h[n] ∗ (Ax[n])
In other words, if you scale the input or the impulse response, then
the output gets scaled. If you scale both the input and impulse
response, then the output gets scaled twice:
A2
y[n] = (Ah[n]) ∗ (Ax[n])
Impulse Response Review A Signal is Made of Impulses Graphical Convolution Properties of Convolution
Properties of Convolution: Time Reversal
Suppose
y[n] = h[n] ∗ x[n]
Then
y[−n] = h[−n] ∗ x[n] = h[n] ∗ x[−n]
In other words, if you time-reverse either the input or the impulse
response, then the output gets shifted. If you time-reverse both
the input and impulse response, then the output gets time-reversed
twice—which cancels out the time-reversal!!!
y[n] = h[−n] ∗ x[−n]

More Related Content

Similar to lecture9convolution.pdf

5. convolution and correlation of discrete time signals
5. convolution and correlation of discrete time signals 5. convolution and correlation of discrete time signals
5. convolution and correlation of discrete time signals MdFazleRabbi18
 
DSP_FOEHU - MATLAB 01 - Discrete Time Signals and Systems
DSP_FOEHU - MATLAB 01 - Discrete Time Signals and SystemsDSP_FOEHU - MATLAB 01 - Discrete Time Signals and Systems
DSP_FOEHU - MATLAB 01 - Discrete Time Signals and SystemsAmr E. Mohamed
 
Z transform and Properties of Z Transform
Z transform and Properties of Z TransformZ transform and Properties of Z Transform
Z transform and Properties of Z TransformAnujKumar734472
 
Radial Basis Function Interpolation
Radial Basis Function InterpolationRadial Basis Function Interpolation
Radial Basis Function InterpolationJesse Bettencourt
 
Overlap save method and overlap add method in dsp
Overlap save method and overlap add method in dspOverlap save method and overlap add method in dsp
Overlap save method and overlap add method in dspchitra raju
 
The tau-leap method for simulating stochastic kinetic models
The tau-leap method for simulating stochastic kinetic modelsThe tau-leap method for simulating stochastic kinetic models
The tau-leap method for simulating stochastic kinetic modelsColin Gillespie
 
Machine learning
Machine learningMachine learning
Machine learningShreyas G S
 
Digital Signal Processing
Digital Signal ProcessingDigital Signal Processing
Digital Signal ProcessingPRABHAHARAN429
 
Erin catto numericalmethods
Erin catto numericalmethodsErin catto numericalmethods
Erin catto numericalmethodsoscarbg
 
Digital Signal Processing[ECEG-3171]-Ch1_L03
Digital Signal Processing[ECEG-3171]-Ch1_L03Digital Signal Processing[ECEG-3171]-Ch1_L03
Digital Signal Processing[ECEG-3171]-Ch1_L03Rediet Moges
 
A numerical method to solve fractional Fredholm-Volterra integro-differential...
A numerical method to solve fractional Fredholm-Volterra integro-differential...A numerical method to solve fractional Fredholm-Volterra integro-differential...
A numerical method to solve fractional Fredholm-Volterra integro-differential...OctavianPostavaru
 
Non linearequationsmatlab
Non linearequationsmatlabNon linearequationsmatlab
Non linearequationsmatlabsheetslibrary
 

Similar to lecture9convolution.pdf (20)

5. convolution and correlation of discrete time signals
5. convolution and correlation of discrete time signals 5. convolution and correlation of discrete time signals
5. convolution and correlation of discrete time signals
 
Ecte401 notes week3
Ecte401 notes week3Ecte401 notes week3
Ecte401 notes week3
 
SlidesL28.pdf
SlidesL28.pdfSlidesL28.pdf
SlidesL28.pdf
 
DSP_FOEHU - MATLAB 01 - Discrete Time Signals and Systems
DSP_FOEHU - MATLAB 01 - Discrete Time Signals and SystemsDSP_FOEHU - MATLAB 01 - Discrete Time Signals and Systems
DSP_FOEHU - MATLAB 01 - Discrete Time Signals and Systems
 
Section9 stochastic
Section9 stochasticSection9 stochastic
Section9 stochastic
 
power method.pdf
power method.pdfpower method.pdf
power method.pdf
 
Z transform and Properties of Z Transform
Z transform and Properties of Z TransformZ transform and Properties of Z Transform
Z transform and Properties of Z Transform
 
lec z-transform.ppt
lec z-transform.pptlec z-transform.ppt
lec z-transform.ppt
 
Radial Basis Function Interpolation
Radial Basis Function InterpolationRadial Basis Function Interpolation
Radial Basis Function Interpolation
 
Daa chapter7
Daa chapter7Daa chapter7
Daa chapter7
 
Lec1 01
Lec1 01Lec1 01
Lec1 01
 
Overlap save method and overlap add method in dsp
Overlap save method and overlap add method in dspOverlap save method and overlap add method in dsp
Overlap save method and overlap add method in dsp
 
The tau-leap method for simulating stochastic kinetic models
The tau-leap method for simulating stochastic kinetic modelsThe tau-leap method for simulating stochastic kinetic models
The tau-leap method for simulating stochastic kinetic models
 
Signal Processing Assignment Help
Signal Processing Assignment HelpSignal Processing Assignment Help
Signal Processing Assignment Help
 
Machine learning
Machine learningMachine learning
Machine learning
 
Digital Signal Processing
Digital Signal ProcessingDigital Signal Processing
Digital Signal Processing
 
Erin catto numericalmethods
Erin catto numericalmethodsErin catto numericalmethods
Erin catto numericalmethods
 
Digital Signal Processing[ECEG-3171]-Ch1_L03
Digital Signal Processing[ECEG-3171]-Ch1_L03Digital Signal Processing[ECEG-3171]-Ch1_L03
Digital Signal Processing[ECEG-3171]-Ch1_L03
 
A numerical method to solve fractional Fredholm-Volterra integro-differential...
A numerical method to solve fractional Fredholm-Volterra integro-differential...A numerical method to solve fractional Fredholm-Volterra integro-differential...
A numerical method to solve fractional Fredholm-Volterra integro-differential...
 
Non linearequationsmatlab
Non linearequationsmatlabNon linearequationsmatlab
Non linearequationsmatlab
 

Recently uploaded

NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...Amil baba
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
Simple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdfSimple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdfstareducators107
 
What is 3 Way Matching Process in Odoo 17.pptx
What is 3 Way Matching Process in Odoo 17.pptxWhat is 3 Way Matching Process in Odoo 17.pptx
What is 3 Way Matching Process in Odoo 17.pptxCeline George
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxJisc
 
Introduction to TechSoup’s Digital Marketing Services and Use Cases
Introduction to TechSoup’s Digital Marketing  Services and Use CasesIntroduction to TechSoup’s Digital Marketing  Services and Use Cases
Introduction to TechSoup’s Digital Marketing Services and Use CasesTechSoup
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Pooja Bhuva
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsSandeep D Chaudhary
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17Celine George
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxPooja Bhuva
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxPooja Bhuva
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 
How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17Celine George
 
PANDITA RAMABAI- Indian political thought GENDER.pptx
PANDITA RAMABAI- Indian political thought GENDER.pptxPANDITA RAMABAI- Indian political thought GENDER.pptx
PANDITA RAMABAI- Indian political thought GENDER.pptxakanksha16arora
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxJisc
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxmarlenawright1
 

Recently uploaded (20)

NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
VAMOS CUIDAR DO NOSSO PLANETA! .
VAMOS CUIDAR DO NOSSO PLANETA!                    .VAMOS CUIDAR DO NOSSO PLANETA!                    .
VAMOS CUIDAR DO NOSSO PLANETA! .
 
Simple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdfSimple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdf
 
What is 3 Way Matching Process in Odoo 17.pptx
What is 3 Way Matching Process in Odoo 17.pptxWhat is 3 Way Matching Process in Odoo 17.pptx
What is 3 Way Matching Process in Odoo 17.pptx
 
Our Environment Class 10 Science Notes pdf
Our Environment Class 10 Science Notes pdfOur Environment Class 10 Science Notes pdf
Our Environment Class 10 Science Notes pdf
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
Introduction to TechSoup’s Digital Marketing Services and Use Cases
Introduction to TechSoup’s Digital Marketing  Services and Use CasesIntroduction to TechSoup’s Digital Marketing  Services and Use Cases
Introduction to TechSoup’s Digital Marketing Services and Use Cases
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & Systems
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...
 
How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17
 
PANDITA RAMABAI- Indian political thought GENDER.pptx
PANDITA RAMABAI- Indian political thought GENDER.pptxPANDITA RAMABAI- Indian political thought GENDER.pptx
PANDITA RAMABAI- Indian political thought GENDER.pptx
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 

lecture9convolution.pdf

  • 1. Impulse Response Review A Signal is Made of Impulses Graphical Convolution Properties of Convolution Lecture 9: Convolution ECE 401: Signal and Image Analysis University of Illinois 3/2/2017
  • 2. Impulse Response Review A Signal is Made of Impulses Graphical Convolution Properties of Convolution 1 Impulse Response Review 2 A Signal is Made of Impulses 3 Graphical Convolution 4 Properties of Convolution
  • 3. Impulse Response Review A Signal is Made of Impulses Graphical Convolution Properties of Convolution Outline 1 Impulse Response Review 2 A Signal is Made of Impulses 3 Graphical Convolution 4 Properties of Convolution
  • 4. Impulse Response Review A Signal is Made of Impulses Graphical Convolution Properties of Convolution Impulse Response The “impulse response” of a system, h[n], is the output that it produces in response to an impulse input. Definition: if and only if x[n] = δ[n] then y[n] = h[n] Given the system equation, you can find the impulse response just by feeding x[n] = δ[n] into the system. If the system is linear and time-invariant (terms we’ll define later), then you can use the impulse response to find the output for any input, using a method called convolution that we’ll learn in two weeks. For today, let’s get some practice at finding the impulse response from the system equation.
  • 5. Impulse Response Review A Signal is Made of Impulses Graphical Convolution Properties of Convolution Impulse Response Review Here is a system. What is its impulse response? y[n] = 1 3 (x[n − 1] + x[n] + x[n + 1])
  • 6. Impulse Response Review A Signal is Made of Impulses Graphical Convolution Properties of Convolution Outline 1 Impulse Response Review 2 A Signal is Made of Impulses 3 Graphical Convolution 4 Properties of Convolution
  • 7. Impulse Response Review A Signal is Made of Impulses Graphical Convolution Properties of Convolution Shifted Impulse Response Suppose some system has impulse response h[n]. Suppose we put in the input x[n] = δ[n − 3]. Then the output will be y[n] = h[n − 3]. Example: h[n] = 0.33333 −1 ≤ n ≤ 1 0 otherwise
  • 8. Impulse Response Review A Signal is Made of Impulses Graphical Convolution Properties of Convolution Scaled Impulse Response Suppose some system has impulse response h[n]. Suppose we put in the input x[n] = 15δ[n − 3]. Then the output will be y[n] = 15h[n − 3]. Example: h[n] = 0.33333 −1 ≤ n ≤ 1 0 otherwise
  • 9. Impulse Response Review A Signal is Made of Impulses Graphical Convolution Properties of Convolution Scaled Impulse Response Suppose some system has impulse response h[n]. Suppose we put in the input x[n] = x[3]δ[n − 3]. Then the output will be y[n] = x[3]h[n − 3]. Example: h[n] = 0.33333 −1 ≤ n ≤ 1 0 otherwise
  • 10. Impulse Response Review A Signal is Made of Impulses Graphical Convolution Properties of Convolution Adding Impulse Responses Suppose some system has impulse response h[n]. Suppose we put in the input x[n] = x[3]δ[n − 3] + x[4]δ[n − 4]. Then the output will be y[n] = x[3]h[n − 3] + x[4]h[n − 4]. Example: h[n] = 0.33333 −1 ≤ n ≤ 1 0 otherwise
  • 11. Impulse Response Review A Signal is Made of Impulses Graphical Convolution Properties of Convolution Adding Impulse Responses Suppose some system has impulse response h[n]. Suppose we put in the input x[n] = ∞ X m=−∞ x[m]δ[n − m] Then the output will be y[n] = ∞ X m=−∞ x[m]h[n − m] Example: h[n] = 0.33333 −1 ≤ n ≤ 1 0 otherwise
  • 12. Impulse Response Review A Signal is Made of Impulses Graphical Convolution Properties of Convolution Adding Impulse Responses Suppose some system has impulse response h[n]. Suppose we put in the input x[n] = ∞ X m=−∞ x[m]δ[n − m] Then the output will be y[n] = ∞ X m=−∞ x[m]h[n − m] Example: h[n] = 0.33333 −1 ≤ n ≤ 1 0 otherwise
  • 13. Impulse Response Review A Signal is Made of Impulses Graphical Convolution Properties of Convolution Definition of Convolution Here’s the trick: x[n] is always equal to x[n] = ∞ X m=−∞ x[m]δ[n − m] Therefore y[n] is always equal to y[n] = ∞ X m=−∞ x[m]h[n − m] The above algorithm is called “convolution,” and it has a special symbol: y[n] = h[n] ∗ x[n]
  • 14. Impulse Response Review A Signal is Made of Impulses Graphical Convolution Properties of Convolution Definition of Convolution Definition of Convolution h[n] ∗ x[n] = ∞ X m=−∞ x[m]h[n − m]
  • 15. Impulse Response Review A Signal is Made of Impulses Graphical Convolution Properties of Convolution Outline 1 Impulse Response Review 2 A Signal is Made of Impulses 3 Graphical Convolution 4 Properties of Convolution
  • 16. Impulse Response Review A Signal is Made of Impulses Graphical Convolution Properties of Convolution Time Reversal Suppose we try to plot h[−m] as a function of m. The result looks like h[m], but flipped around in time. Example: h[m] = 1 0 ≤ m ≤ 3 0 otherwise h[−m] = 1 −3 ≤ m ≤ 0 0 otherwise
  • 17. Impulse Response Review A Signal is Made of Impulses Graphical Convolution Properties of Convolution Shifted Reversal Suppose we try to plot h[n − m] as a function of m. The result looks like h[m], but flipped in time, and shifted by n. Example: h[m] = 1 0 ≤ m ≤ 3 0 otherwise h[n − m] = 1 n − 3 ≤ m ≤ n 0 otherwise
  • 18. Impulse Response Review A Signal is Made of Impulses Graphical Convolution Properties of Convolution Graphical Convolution Suppose we’re trying to calculate the function y[n]. The way we do it is: Plot x[m] as a function of m. For each interesting value of n (do as many as necessary, until we understand the whole pattern) Plot h[n − m] as a function of m. Plot x[m]h[n − m] as a function of m. Compute y[n] = P x[m]h[n − m] Example: h[m] = 1 0 ≤ m ≤ 3 0 otherwise x[m] = 1 0 ≤ m ≤ 3 0 otherwise
  • 19. Impulse Response Review A Signal is Made of Impulses Graphical Convolution Properties of Convolution Outline 1 Impulse Response Review 2 A Signal is Made of Impulses 3 Graphical Convolution 4 Properties of Convolution
  • 20. Impulse Response Review A Signal is Made of Impulses Graphical Convolution Properties of Convolution Properties of Convolution: Commutative h[n] ∗ x[n] = x[n] ∗ h[n] Putting it another way, ∞ X m=−∞ x[m]h[n − m] = ∞ X m=−∞ h[m]x[n − m]
  • 21. Impulse Response Review A Signal is Made of Impulses Graphical Convolution Properties of Convolution Properties of Convolution: Shift Suppose y[n] = h[n] ∗ x[n] Then y[n − n0] = h[n − n0] ∗ x[n] = h[n] ∗ x[n − n0] In other words, if you shift the input or the impulse response, then the output gets shifted. If you shift both the input and impulse response, then the output gets shifted twice: y[n − 2n0] = h[n − n0] ∗ x[n − n0]
  • 22. Impulse Response Review A Signal is Made of Impulses Graphical Convolution Properties of Convolution Properties of Convolution: Scaling Suppose y[n] = h[n] ∗ x[n] Then Ay[n] = (Ah[n]) ∗ x[n] = h[n] ∗ (Ax[n]) In other words, if you scale the input or the impulse response, then the output gets scaled. If you scale both the input and impulse response, then the output gets scaled twice: A2 y[n] = (Ah[n]) ∗ (Ax[n])
  • 23. Impulse Response Review A Signal is Made of Impulses Graphical Convolution Properties of Convolution Properties of Convolution: Time Reversal Suppose y[n] = h[n] ∗ x[n] Then y[−n] = h[−n] ∗ x[n] = h[n] ∗ x[−n] In other words, if you time-reverse either the input or the impulse response, then the output gets shifted. If you time-reverse both the input and impulse response, then the output gets time-reversed twice—which cancels out the time-reversal!!! y[n] = h[−n] ∗ x[−n]