SlideShare a Scribd company logo
EE-2027 SaS, L4: 1/17
Lecture 4: Linear Systems and Convolution
Specific objectives for today:
We’re looking at discrete time signals and systems
• Understand a system’s impulse response properties
• Show how any input signal can be decomposed into
a continuum of impulses
• DT Convolution for time varying and time invariant
systems
EE-2027 SaS, L4: 2/17
Lecture 4: Resources
SaS, O&W, C2.1
MIT Lecture 3
EE-2027 SaS, L4: 3/17
Introduction to Convolution
Definition Convolution is an operator that takes an input
signal and returns an output signal, based on knowledge
about the system’s unit impulse response h[n].
The basic idea behind convolution is to use the system’s
response to a simple input signal to calculate the
response to more complex signals
This is possible for LTI systems because they possess the
superposition property (lecture 3):
∑ +++== k kk nxanxanxanxanx ][][][][][ 332211
∑ +++== k kk nyanyanyanyany ][][][][][ 332211
System y[n] = h[n]x[n] = δ[n]
System: h[n] y[n]x[n]
EE-2027 SaS, L4: 4/17
Discrete Impulses & Time Shifts
Basic idea: use a (infinite) set of of discrete time impulses to
represent any signal.
Consider any discrete input signal x[n]. This can be written
as the linear sum of a set of unit impulse signals:
Therefore, the signal can be expressed as:
In general, any discrete signal can be represented as:
∑
∞
−∞=
−=
k
knkxnx ][][][ δ



≠
=
=−



≠
=
=



−≠
−=−
=+−
10
1]1[
]1[]1[
00
0]0[
][]0[
10
1]1[
]1[]1[
n
nx
nx
n
nx
nx
n
nx
nx
δ
δ
δ
]1[]1[ +− nx δ
actual value Impulse, time
shifted signal
The sifting property
 +−+++−++−+= ]1[]1[][]0[]1[]1[]2[]2[][ nxnxnxnxnx δδδδ
EE-2027 SaS, L4: 5/17
Example
The discrete signal x[n]
Is decomposed into the following
additive components
x[-4]δ[n+4] +
x[-3]δ[n+3] + x[-2]δ[n+2] + x[-1]δ[n+1] + …
EE-2027 SaS, L4: 6/17
Discrete, Unit Impulse System Response
A very important way to analyse a system is to study the
output signal when a unit impulse signal is used as
an input
Loosely speaking, this corresponds to giving the system
a kick at n=0, and then seeing what happens
This is so common, a specific notation, h[n], is used to
denote the output signal, rather than the more
general y[n].
The output signal can be used to infer properties about
the system’s structure and its behaviour.
System h[n]δ[n]
EE-2027 SaS, L4: 7/17
Types of Unit Impulse Response
Looking at unit impulse
responses, allows you to
determine certain system
properties
Causal, stable, finite impulse response
y[n] = x[n] + 0.5x[n-1] + 0.25x[n-2]
Causal, stable, infinite impulse response
y[n] = x[n] + 0.7y[n-1]
Causal, unstable, infinite impulse response
y[n] = x[n] + 1.3y[n-1]
EE-2027 SaS, L4: 8/17
Linear, Time Varying Systems
If the system is time varying, let hk[n] denote the response
to the impulse signal δ[n-k] (because it is time varying,
the impulse responses at different times will change).
Then from the superposition property (Lecture 3) of linear
systems, the system’s response to a more general input
signal x[n] can be written as:
Input signal
System output signal is given by the convolution sum
i.e. it is the scaled sum of impulse responses
∑
∞
−∞=
=
k
k nhkxny ][][][
∑
∞
−∞=
−=
k
knkxnx ][][][ δ
EE-2027 SaS, L4: 9/17
Example: Time Varying Convolution
x[n] = [0 0 –1 1.5 0 0 0]
h-1[n] = [0 0 –1.5 –0.7 .4 0 0]
h0[n] = [0 0 0 0.5 0.8 1.7 0]
y[n] = [0 0 1.4 1.4 0.7 2.6 0]
EE-2027 SaS, L4: 10/17
Linear Time Invariant Systems
When system is linear, time invariant, the unit impulse
responses are all time-shifted versions of each other:
It is usual to drop the 0 subscript and simply define the
unit impulse response h[n] as:
In this case, the convolution sum for LTI systems is:
It is called the convolution sum (or superposition sum)
because it involves the convolution of two signals x[n]
and h[n], and is sometimes written as:
[ ]knhnhk −= 0][
[ ]nhnh 0][ =
∑
∞
−∞=
−=
k
knhkxny ][][][
][*][][ nhnxny =
EE-2027 SaS, L4: 11/17
System Identification and Prediction
Note that the system’s response to an arbitrary input signal is
completely determined by its response to the unit impulse.
Therefore, if we need to identify a particular LTI system, we
can apply a unit impulse signal and measure the system’s
response.
That data can then be used to predict the system’s response
to any input signal
Note that describing an LTI system using h[n], is equivalent to a
description using a difference equation. There is a direct
mapping between h[n] and the parameters/order of a
difference equation such as:
y[n] = x[n] + 0.5x[n-1] + 0.25x[n-2]
System: h[n]
y[n]x[n]
EE-2027 SaS, L4: 12/17
Example 1: LTI Convolution
Consider a LTI system with the
following unit impulse response:
h[n] = [0 0 1 1 1 0 0]
For the input sequence:
x[n] = [0 0 0.5 2 0 0 0]
The result is:
y[n] = … + x[0]h[n] + x[1]h[n-1] + …
= 0 +
0.5*[0 0 1 1 1 0 0] +
2.0*[0 0 0 1 1 1 0] +
0
= [0 0 0.5 2.5 2.5 2 0]
EE-2027 SaS, L4: 13/17
Example 2: LTI Convolution
Consider the problem
described for example 1
Sketch x[k] and h[n-k] for any
particular value of n, then
multiply the two signals and
sum over all values of k.
For n<0, we see that x[k]h[n-k]
= 0 for all k, since the non-
zero values of the two
signals do not overlap.
y[0] = Σkx[k]h[0-k] = 0.5
y[1] = Σkx[k]h[1-k] = 0.5+2
y[2] = Σkx[k]h[2-k] = 0.5+2
y[3] = Σkx[k]h[3-k] = 2
As found in Example 1
EE-2027 SaS, L4: 14/17
Example 3: LTI Convolution
Consider a LTI system that has a step
response h[n] = u[n] to the unit
impulse input signal
What is the response when an input
signal of the form
x[n] = αn
u[n]
where 0<α<1, is applied?
For n≥0:
Therefore,
α
α
α
−
−
=
=
+
=
∑
1
1
][
1
0
n
n
k
k
ny
][
1
1
][
1
nuny
n






−
−
=
+
α
α
EE-2027 SaS, L4: 15/17
Lecture 4: Summary
Any discrete LTI system can be completely determined by
measuring its unit impulse response h[n]
This can be used to predict the response to an arbitrary input
signal using the convolution operator:
The output signal y[n] can be calculated by:
• Sum of scaled signals – example 1
• Non-zero elements of h – example 2
The two ways of calculating the convolution are equivalent
Calculated in Matlab using the conv() function (but note that
there are some zero padding at start and end)
∑
∞
−∞=
−=
k
knhkxny ][][][
EE-2027 SaS, L4: 16/17
Lecture 4: Exercises
Q2.1-2.7, 2.21
Calculate the answer to Example 3 in Matlab, Slide 14

More Related Content

What's hot

Chapter2 - Linear Time-Invariant System
Chapter2 - Linear Time-Invariant SystemChapter2 - Linear Time-Invariant System
Chapter2 - Linear Time-Invariant System
Attaporn Ninsuwan
 
signal and system Lecture 1
signal and system Lecture 1signal and system Lecture 1
signal and system Lecture 1
iqbal ahmad
 
signals and system
signals and systemsignals and system
signals and system
Naatchammai Ramanathan
 
Chapter1 - Signal and System
Chapter1 - Signal and SystemChapter1 - Signal and System
Chapter1 - Signal and System
Attaporn Ninsuwan
 
3.Properties of signals
3.Properties of signals3.Properties of signals
3.Properties of signals
INDIAN NAVY
 
Instrumentation Engineering : Signals & systems, THE GATE ACADEMY
Instrumentation Engineering : Signals & systems, THE GATE ACADEMYInstrumentation Engineering : Signals & systems, THE GATE ACADEMY
Instrumentation Engineering : Signals & systems, THE GATE ACADEMY
klirantga
 
Dsp U Lec04 Discrete Time Signals & Systems
Dsp U   Lec04 Discrete Time Signals & SystemsDsp U   Lec04 Discrete Time Signals & Systems
Dsp U Lec04 Discrete Time Signals & Systems
taha25
 
Lecture 5: The Convolution Sum
Lecture 5: The Convolution SumLecture 5: The Convolution Sum
Lecture 5: The Convolution Sum
Jawaher Abdulwahab Fadhil
 
Lti system
Lti systemLti system
Lti system
Fariza Zahari
 
signal and system Lecture 3
signal and system Lecture 3signal and system Lecture 3
signal and system Lecture 3
iqbal ahmad
 
Lecture No:1 Signals & Systems
Lecture No:1 Signals & SystemsLecture No:1 Signals & Systems
Lecture No:1 Signals & Systems
rbatec
 
OPERATIONS ON SIGNALS
OPERATIONS ON SIGNALSOPERATIONS ON SIGNALS
OPERATIONS ON SIGNALS
vishalgohel12195
 
Signals & systems
Signals & systems Signals & systems
Signals & systems
SathyaVigneshR
 
Signals and systems( chapter 1)
Signals and systems( chapter 1)Signals and systems( chapter 1)
Signals and systems( chapter 1)Fariza Zahari
 
Signal and System, CT Signal DT Signal, Signal Processing(amplitude and time ...
Signal and System, CT Signal DT Signal, Signal Processing(amplitude and time ...Signal and System, CT Signal DT Signal, Signal Processing(amplitude and time ...
Signal and System, CT Signal DT Signal, Signal Processing(amplitude and time ...
Waqas Afzal
 
SIGNAL OPERATIONS
SIGNAL OPERATIONSSIGNAL OPERATIONS
SIGNAL OPERATIONS
mihir jain
 

What's hot (20)

Chapter2 - Linear Time-Invariant System
Chapter2 - Linear Time-Invariant SystemChapter2 - Linear Time-Invariant System
Chapter2 - Linear Time-Invariant System
 
Lecture123
Lecture123Lecture123
Lecture123
 
signal and system Lecture 1
signal and system Lecture 1signal and system Lecture 1
signal and system Lecture 1
 
signals and system
signals and systemsignals and system
signals and system
 
Solved problems
Solved problemsSolved problems
Solved problems
 
Chapter1 - Signal and System
Chapter1 - Signal and SystemChapter1 - Signal and System
Chapter1 - Signal and System
 
3.Properties of signals
3.Properties of signals3.Properties of signals
3.Properties of signals
 
Sns slide 1 2011
Sns slide 1 2011Sns slide 1 2011
Sns slide 1 2011
 
Instrumentation Engineering : Signals & systems, THE GATE ACADEMY
Instrumentation Engineering : Signals & systems, THE GATE ACADEMYInstrumentation Engineering : Signals & systems, THE GATE ACADEMY
Instrumentation Engineering : Signals & systems, THE GATE ACADEMY
 
Dsp U Lec04 Discrete Time Signals & Systems
Dsp U   Lec04 Discrete Time Signals & SystemsDsp U   Lec04 Discrete Time Signals & Systems
Dsp U Lec04 Discrete Time Signals & Systems
 
Lecture 5: The Convolution Sum
Lecture 5: The Convolution SumLecture 5: The Convolution Sum
Lecture 5: The Convolution Sum
 
Lti system
Lti systemLti system
Lti system
 
signal and system Lecture 3
signal and system Lecture 3signal and system Lecture 3
signal and system Lecture 3
 
Signal & system
Signal & systemSignal & system
Signal & system
 
Lecture No:1 Signals & Systems
Lecture No:1 Signals & SystemsLecture No:1 Signals & Systems
Lecture No:1 Signals & Systems
 
OPERATIONS ON SIGNALS
OPERATIONS ON SIGNALSOPERATIONS ON SIGNALS
OPERATIONS ON SIGNALS
 
Signals & systems
Signals & systems Signals & systems
Signals & systems
 
Signals and systems( chapter 1)
Signals and systems( chapter 1)Signals and systems( chapter 1)
Signals and systems( chapter 1)
 
Signal and System, CT Signal DT Signal, Signal Processing(amplitude and time ...
Signal and System, CT Signal DT Signal, Signal Processing(amplitude and time ...Signal and System, CT Signal DT Signal, Signal Processing(amplitude and time ...
Signal and System, CT Signal DT Signal, Signal Processing(amplitude and time ...
 
SIGNAL OPERATIONS
SIGNAL OPERATIONSSIGNAL OPERATIONS
SIGNAL OPERATIONS
 

Viewers also liked

Lecture2 Signal and Systems
Lecture2 Signal and SystemsLecture2 Signal and Systems
Lecture2 Signal and Systems
babak danyal
 
Lecture3 Signal and Systems
Lecture3 Signal and SystemsLecture3 Signal and Systems
Lecture3 Signal and Systems
babak danyal
 
Lti system(akept)
Lti system(akept)Lti system(akept)
Lti system(akept)
Fariza Zahari
 
Lti and z transform
Lti and z transformLti and z transform
Lti and z transform
pranvendra29
 
Lecture9 Signal and Systems
Lecture9 Signal and SystemsLecture9 Signal and Systems
Lecture9 Signal and Systems
babak danyal
 
Signal & systems
Signal & systemsSignal & systems
Signal & systems
AJAL A J
 
Digital Signal Processing Tutorial:Chapt 1 signal and systems
Digital Signal Processing Tutorial:Chapt 1 signal and systemsDigital Signal Processing Tutorial:Chapt 1 signal and systems
Digital Signal Processing Tutorial:Chapt 1 signal and systemsChandrashekhar Padole
 
Lecture7 Signal and Systems
Lecture7 Signal and SystemsLecture7 Signal and Systems
Lecture7 Signal and Systems
babak danyal
 
discrete time signals and systems
 discrete time signals and systems  discrete time signals and systems
discrete time signals and systems Zlatan Ahmadovic
 
Even and off functions basic presentation with questions 2
Even and off functions basic presentation with questions 2Even and off functions basic presentation with questions 2
Even and off functions basic presentation with questions 2
Jonna Ramsey
 
Hw1 solution
Hw1 solutionHw1 solution
Hw1 solution
iqbal ahmad
 
Lecture8 Signal and Systems
Lecture8 Signal and SystemsLecture8 Signal and Systems
Lecture8 Signal and Systems
babak danyal
 
Linear Time Invariant Systems (Ganesh Rao Signals and systems)
Linear Time Invariant Systems (Ganesh Rao Signals and systems)Linear Time Invariant Systems (Ganesh Rao Signals and systems)
Linear Time Invariant Systems (Ganesh Rao Signals and systems)
Daphne Silveira
 
Alternatives to the impulse response model
Alternatives to the impulse response modelAlternatives to the impulse response model
Alternatives to the impulse response model
acoggan1
 
Dsp manual completed2
Dsp manual completed2Dsp manual completed2
Dsp manual completed2bilawalali74
 
Z TRANSFORM PROPERTIES AND INVERSE Z TRANSFORM
Z TRANSFORM PROPERTIES AND INVERSE Z TRANSFORMZ TRANSFORM PROPERTIES AND INVERSE Z TRANSFORM
Z TRANSFORM PROPERTIES AND INVERSE Z TRANSFORM
Towfeeq Umar
 

Viewers also liked (20)

Lecture2 Signal and Systems
Lecture2 Signal and SystemsLecture2 Signal and Systems
Lecture2 Signal and Systems
 
Lecture3 Signal and Systems
Lecture3 Signal and SystemsLecture3 Signal and Systems
Lecture3 Signal and Systems
 
Lti system(akept)
Lti system(akept)Lti system(akept)
Lti system(akept)
 
Lti and z transform
Lti and z transformLti and z transform
Lti and z transform
 
Lecture9 Signal and Systems
Lecture9 Signal and SystemsLecture9 Signal and Systems
Lecture9 Signal and Systems
 
Signal & systems
Signal & systemsSignal & systems
Signal & systems
 
Digital Signal Processing Tutorial:Chapt 1 signal and systems
Digital Signal Processing Tutorial:Chapt 1 signal and systemsDigital Signal Processing Tutorial:Chapt 1 signal and systems
Digital Signal Processing Tutorial:Chapt 1 signal and systems
 
Lecture7 Signal and Systems
Lecture7 Signal and SystemsLecture7 Signal and Systems
Lecture7 Signal and Systems
 
discrete time signals and systems
 discrete time signals and systems  discrete time signals and systems
discrete time signals and systems
 
Chapter5 system analysis
Chapter5 system analysisChapter5 system analysis
Chapter5 system analysis
 
Even and off functions basic presentation with questions 2
Even and off functions basic presentation with questions 2Even and off functions basic presentation with questions 2
Even and off functions basic presentation with questions 2
 
Impulse response
Impulse responseImpulse response
Impulse response
 
Lab no.07
Lab no.07Lab no.07
Lab no.07
 
Hw1 solution
Hw1 solutionHw1 solution
Hw1 solution
 
Lecture8 Signal and Systems
Lecture8 Signal and SystemsLecture8 Signal and Systems
Lecture8 Signal and Systems
 
Linear Time Invariant Systems (Ganesh Rao Signals and systems)
Linear Time Invariant Systems (Ganesh Rao Signals and systems)Linear Time Invariant Systems (Ganesh Rao Signals and systems)
Linear Time Invariant Systems (Ganesh Rao Signals and systems)
 
Alternatives to the impulse response model
Alternatives to the impulse response modelAlternatives to the impulse response model
Alternatives to the impulse response model
 
Dsp manual completed2
Dsp manual completed2Dsp manual completed2
Dsp manual completed2
 
applist
applistapplist
applist
 
Z TRANSFORM PROPERTIES AND INVERSE Z TRANSFORM
Z TRANSFORM PROPERTIES AND INVERSE Z TRANSFORMZ TRANSFORM PROPERTIES AND INVERSE Z TRANSFORM
Z TRANSFORM PROPERTIES AND INVERSE Z TRANSFORM
 

Similar to Lecture4 Signal and Systems

Unit 2 signal &amp;system
Unit 2 signal &amp;systemUnit 2 signal &amp;system
Unit 2 signal &amp;system
sushant7dare
 
2.time domain analysis of lti systems
2.time domain analysis of lti systems2.time domain analysis of lti systems
2.time domain analysis of lti systems
INDIAN NAVY
 
ch2-3
ch2-3ch2-3
Z transform
Z transformZ transform
Z transform
nirav34
 
signal and system chapter2-part1+2new.pdf
signal and system chapter2-part1+2new.pdfsignal and system chapter2-part1+2new.pdf
signal and system chapter2-part1+2new.pdf
islamsharawneh
 
Ch2_Discrete time signal and systems.pdf
Ch2_Discrete time signal and systems.pdfCh2_Discrete time signal and systems.pdf
Ch2_Discrete time signal and systems.pdf
shannlevia123
 
df_lesson_01.ppt
df_lesson_01.pptdf_lesson_01.ppt
df_lesson_01.ppt
kcharizmacruz
 
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
Rediet Moges
 
Dsp 2marks
Dsp 2marksDsp 2marks
Dsp 2marks
Hari Kumar
 
3. convolution fourier
3. convolution fourier3. convolution fourier
3. convolution fourier
skysunilyadav
 
Brief summary of signals
Brief summary of signalsBrief summary of signals
Brief summary of signals
aroosa khan
 
lecture8impulse.pdf
lecture8impulse.pdflecture8impulse.pdf
lecture8impulse.pdf
ASMZahidKausar
 
L8. LTI systems described via difference equations.pdf
L8. LTI systems described via difference equations.pdfL8. LTI systems described via difference equations.pdf
L8. LTI systems described via difference equations.pdf
PatrickMumba7
 
adspchap1.pdf
adspchap1.pdfadspchap1.pdf
adspchap1.pdf
RPSingh450071
 
How Unstable is an Unstable System
How Unstable is an Unstable SystemHow Unstable is an Unstable System
How Unstable is an Unstable System
idescitation
 
Two Types of Novel Discrete Time Chaotic Systems
Two Types of Novel Discrete Time Chaotic SystemsTwo Types of Novel Discrete Time Chaotic Systems
Two Types of Novel Discrete Time Chaotic Systems
ijtsrd
 
bme301_lec_11.pdf
bme301_lec_11.pdfbme301_lec_11.pdf
bme301_lec_11.pdf
ASMZahidKausar
 
Lecture 4: Classification of system
Lecture 4: Classification of system Lecture 4: Classification of system
Lecture 4: Classification of system
Jawaher Abdulwahab Fadhil
 
Lecture 3 (ADSP).pptx
Lecture 3 (ADSP).pptxLecture 3 (ADSP).pptx
Lecture 3 (ADSP).pptx
HarisMasood20
 

Similar to Lecture4 Signal and Systems (20)

Unit 2 signal &amp;system
Unit 2 signal &amp;systemUnit 2 signal &amp;system
Unit 2 signal &amp;system
 
3.pdf
3.pdf3.pdf
3.pdf
 
2.time domain analysis of lti systems
2.time domain analysis of lti systems2.time domain analysis of lti systems
2.time domain analysis of lti systems
 
ch2-3
ch2-3ch2-3
ch2-3
 
Z transform
Z transformZ transform
Z transform
 
signal and system chapter2-part1+2new.pdf
signal and system chapter2-part1+2new.pdfsignal and system chapter2-part1+2new.pdf
signal and system chapter2-part1+2new.pdf
 
Ch2_Discrete time signal and systems.pdf
Ch2_Discrete time signal and systems.pdfCh2_Discrete time signal and systems.pdf
Ch2_Discrete time signal and systems.pdf
 
df_lesson_01.ppt
df_lesson_01.pptdf_lesson_01.ppt
df_lesson_01.ppt
 
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
 
Dsp 2marks
Dsp 2marksDsp 2marks
Dsp 2marks
 
3. convolution fourier
3. convolution fourier3. convolution fourier
3. convolution fourier
 
Brief summary of signals
Brief summary of signalsBrief summary of signals
Brief summary of signals
 
lecture8impulse.pdf
lecture8impulse.pdflecture8impulse.pdf
lecture8impulse.pdf
 
L8. LTI systems described via difference equations.pdf
L8. LTI systems described via difference equations.pdfL8. LTI systems described via difference equations.pdf
L8. LTI systems described via difference equations.pdf
 
adspchap1.pdf
adspchap1.pdfadspchap1.pdf
adspchap1.pdf
 
How Unstable is an Unstable System
How Unstable is an Unstable SystemHow Unstable is an Unstable System
How Unstable is an Unstable System
 
Two Types of Novel Discrete Time Chaotic Systems
Two Types of Novel Discrete Time Chaotic SystemsTwo Types of Novel Discrete Time Chaotic Systems
Two Types of Novel Discrete Time Chaotic Systems
 
bme301_lec_11.pdf
bme301_lec_11.pdfbme301_lec_11.pdf
bme301_lec_11.pdf
 
Lecture 4: Classification of system
Lecture 4: Classification of system Lecture 4: Classification of system
Lecture 4: Classification of system
 
Lecture 3 (ADSP).pptx
Lecture 3 (ADSP).pptxLecture 3 (ADSP).pptx
Lecture 3 (ADSP).pptx
 

More from babak danyal

Easy Steps to implement UDP Server and Client Sockets
Easy Steps to implement UDP Server and Client SocketsEasy Steps to implement UDP Server and Client Sockets
Easy Steps to implement UDP Server and Client Sockets
babak danyal
 
Java IO Package and Streams
Java IO Package and StreamsJava IO Package and Streams
Java IO Package and Streams
babak danyal
 
Swing and Graphical User Interface in Java
Swing and Graphical User Interface in JavaSwing and Graphical User Interface in Java
Swing and Graphical User Interface in Java
babak danyal
 
Tcp sockets
Tcp socketsTcp sockets
Tcp sockets
babak danyal
 
block ciphers and the des
block ciphers and the desblock ciphers and the des
block ciphers and the des
babak danyal
 
key distribution in network security
key distribution in network securitykey distribution in network security
key distribution in network security
babak danyal
 
Lecture10 Signal and Systems
Lecture10 Signal and SystemsLecture10 Signal and Systems
Lecture10 Signal and Systems
babak danyal
 
Cns 13f-lec03- Classical Encryption Techniques
Cns 13f-lec03- Classical Encryption TechniquesCns 13f-lec03- Classical Encryption Techniques
Cns 13f-lec03- Classical Encryption Techniques
babak danyal
 
Classical Encryption Techniques in Network Security
Classical Encryption Techniques in Network SecurityClassical Encryption Techniques in Network Security
Classical Encryption Techniques in Network Security
babak danyal
 
Problems at independence
Problems at independenceProblems at independence
Problems at independencebabak danyal
 
Quaid-e-Azam and Early Problems of Pakistan
Quaid-e-Azam and Early Problems of PakistanQuaid-e-Azam and Early Problems of Pakistan
Quaid-e-Azam and Early Problems of Pakistan
babak danyal
 
Aligarh movement new
Aligarh movement newAligarh movement new
Aligarh movement newbabak danyal
 
Indus Water Treaty
Indus Water TreatyIndus Water Treaty
Indus Water Treatybabak danyal
 
Pakistan's Water Concerns
Pakistan's Water ConcernsPakistan's Water Concerns
Pakistan's Water Concerns
babak danyal
 
The Role of Ulema and Mashaikh in the Pakistan Movement
The Role of Ulema and Mashaikh in the Pakistan MovementThe Role of Ulema and Mashaikh in the Pakistan Movement
The Role of Ulema and Mashaikh in the Pakistan Movementbabak danyal
 
Water dispute between India and Pakistan
Water dispute between India and PakistanWater dispute between India and Pakistan
Water dispute between India and Pakistanbabak danyal
 
Vulnerabilities in IP Protocols
Vulnerabilities in IP ProtocolsVulnerabilities in IP Protocols
Vulnerabilities in IP Protocols
babak danyal
 
Network Security 1st Lecture
Network Security 1st LectureNetwork Security 1st Lecture
Network Security 1st Lecture
babak danyal
 
Se 381 - lec 26 - 26 - 12 may30 - software design - detailed design - se de...
Se 381 - lec 26  - 26 - 12 may30 - software design -  detailed design - se de...Se 381 - lec 26  - 26 - 12 may30 - software design -  detailed design - se de...
Se 381 - lec 26 - 26 - 12 may30 - software design - detailed design - se de...
babak danyal
 

More from babak danyal (20)

Easy Steps to implement UDP Server and Client Sockets
Easy Steps to implement UDP Server and Client SocketsEasy Steps to implement UDP Server and Client Sockets
Easy Steps to implement UDP Server and Client Sockets
 
Java IO Package and Streams
Java IO Package and StreamsJava IO Package and Streams
Java IO Package and Streams
 
Swing and Graphical User Interface in Java
Swing and Graphical User Interface in JavaSwing and Graphical User Interface in Java
Swing and Graphical User Interface in Java
 
Tcp sockets
Tcp socketsTcp sockets
Tcp sockets
 
block ciphers and the des
block ciphers and the desblock ciphers and the des
block ciphers and the des
 
key distribution in network security
key distribution in network securitykey distribution in network security
key distribution in network security
 
Lecture10 Signal and Systems
Lecture10 Signal and SystemsLecture10 Signal and Systems
Lecture10 Signal and Systems
 
Lecture9
Lecture9Lecture9
Lecture9
 
Cns 13f-lec03- Classical Encryption Techniques
Cns 13f-lec03- Classical Encryption TechniquesCns 13f-lec03- Classical Encryption Techniques
Cns 13f-lec03- Classical Encryption Techniques
 
Classical Encryption Techniques in Network Security
Classical Encryption Techniques in Network SecurityClassical Encryption Techniques in Network Security
Classical Encryption Techniques in Network Security
 
Problems at independence
Problems at independenceProblems at independence
Problems at independence
 
Quaid-e-Azam and Early Problems of Pakistan
Quaid-e-Azam and Early Problems of PakistanQuaid-e-Azam and Early Problems of Pakistan
Quaid-e-Azam and Early Problems of Pakistan
 
Aligarh movement new
Aligarh movement newAligarh movement new
Aligarh movement new
 
Indus Water Treaty
Indus Water TreatyIndus Water Treaty
Indus Water Treaty
 
Pakistan's Water Concerns
Pakistan's Water ConcernsPakistan's Water Concerns
Pakistan's Water Concerns
 
The Role of Ulema and Mashaikh in the Pakistan Movement
The Role of Ulema and Mashaikh in the Pakistan MovementThe Role of Ulema and Mashaikh in the Pakistan Movement
The Role of Ulema and Mashaikh in the Pakistan Movement
 
Water dispute between India and Pakistan
Water dispute between India and PakistanWater dispute between India and Pakistan
Water dispute between India and Pakistan
 
Vulnerabilities in IP Protocols
Vulnerabilities in IP ProtocolsVulnerabilities in IP Protocols
Vulnerabilities in IP Protocols
 
Network Security 1st Lecture
Network Security 1st LectureNetwork Security 1st Lecture
Network Security 1st Lecture
 
Se 381 - lec 26 - 26 - 12 may30 - software design - detailed design - se de...
Se 381 - lec 26  - 26 - 12 may30 - software design -  detailed design - se de...Se 381 - lec 26  - 26 - 12 may30 - software design -  detailed design - se de...
Se 381 - lec 26 - 26 - 12 may30 - software design - detailed design - se de...
 

Recently uploaded

Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
Dorra BARTAGUIZ
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
Kari Kakkonen
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
ControlCase
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
SOFTTECHHUB
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
Ralf Eggert
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
Pierluigi Pugliese
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Aggregage
 
Quantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIsQuantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIs
Vlad Stirbu
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
mikeeftimakis1
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
Prayukth K V
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
sonjaschweigert1
 
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdfSAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
Peter Spielvogel
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
UiPathCommunity
 

Recently uploaded (20)

Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
 
Quantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIsQuantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIs
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
 
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdfSAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
 

Lecture4 Signal and Systems

  • 1. EE-2027 SaS, L4: 1/17 Lecture 4: Linear Systems and Convolution Specific objectives for today: We’re looking at discrete time signals and systems • Understand a system’s impulse response properties • Show how any input signal can be decomposed into a continuum of impulses • DT Convolution for time varying and time invariant systems
  • 2. EE-2027 SaS, L4: 2/17 Lecture 4: Resources SaS, O&W, C2.1 MIT Lecture 3
  • 3. EE-2027 SaS, L4: 3/17 Introduction to Convolution Definition Convolution is an operator that takes an input signal and returns an output signal, based on knowledge about the system’s unit impulse response h[n]. The basic idea behind convolution is to use the system’s response to a simple input signal to calculate the response to more complex signals This is possible for LTI systems because they possess the superposition property (lecture 3): ∑ +++== k kk nxanxanxanxanx ][][][][][ 332211 ∑ +++== k kk nyanyanyanyany ][][][][][ 332211 System y[n] = h[n]x[n] = δ[n] System: h[n] y[n]x[n]
  • 4. EE-2027 SaS, L4: 4/17 Discrete Impulses & Time Shifts Basic idea: use a (infinite) set of of discrete time impulses to represent any signal. Consider any discrete input signal x[n]. This can be written as the linear sum of a set of unit impulse signals: Therefore, the signal can be expressed as: In general, any discrete signal can be represented as: ∑ ∞ −∞= −= k knkxnx ][][][ δ    ≠ = =−    ≠ = =    −≠ −=− =+− 10 1]1[ ]1[]1[ 00 0]0[ ][]0[ 10 1]1[ ]1[]1[ n nx nx n nx nx n nx nx δ δ δ ]1[]1[ +− nx δ actual value Impulse, time shifted signal The sifting property  +−+++−++−+= ]1[]1[][]0[]1[]1[]2[]2[][ nxnxnxnxnx δδδδ
  • 5. EE-2027 SaS, L4: 5/17 Example The discrete signal x[n] Is decomposed into the following additive components x[-4]δ[n+4] + x[-3]δ[n+3] + x[-2]δ[n+2] + x[-1]δ[n+1] + …
  • 6. EE-2027 SaS, L4: 6/17 Discrete, Unit Impulse System Response A very important way to analyse a system is to study the output signal when a unit impulse signal is used as an input Loosely speaking, this corresponds to giving the system a kick at n=0, and then seeing what happens This is so common, a specific notation, h[n], is used to denote the output signal, rather than the more general y[n]. The output signal can be used to infer properties about the system’s structure and its behaviour. System h[n]δ[n]
  • 7. EE-2027 SaS, L4: 7/17 Types of Unit Impulse Response Looking at unit impulse responses, allows you to determine certain system properties Causal, stable, finite impulse response y[n] = x[n] + 0.5x[n-1] + 0.25x[n-2] Causal, stable, infinite impulse response y[n] = x[n] + 0.7y[n-1] Causal, unstable, infinite impulse response y[n] = x[n] + 1.3y[n-1]
  • 8. EE-2027 SaS, L4: 8/17 Linear, Time Varying Systems If the system is time varying, let hk[n] denote the response to the impulse signal δ[n-k] (because it is time varying, the impulse responses at different times will change). Then from the superposition property (Lecture 3) of linear systems, the system’s response to a more general input signal x[n] can be written as: Input signal System output signal is given by the convolution sum i.e. it is the scaled sum of impulse responses ∑ ∞ −∞= = k k nhkxny ][][][ ∑ ∞ −∞= −= k knkxnx ][][][ δ
  • 9. EE-2027 SaS, L4: 9/17 Example: Time Varying Convolution x[n] = [0 0 –1 1.5 0 0 0] h-1[n] = [0 0 –1.5 –0.7 .4 0 0] h0[n] = [0 0 0 0.5 0.8 1.7 0] y[n] = [0 0 1.4 1.4 0.7 2.6 0]
  • 10. EE-2027 SaS, L4: 10/17 Linear Time Invariant Systems When system is linear, time invariant, the unit impulse responses are all time-shifted versions of each other: It is usual to drop the 0 subscript and simply define the unit impulse response h[n] as: In this case, the convolution sum for LTI systems is: It is called the convolution sum (or superposition sum) because it involves the convolution of two signals x[n] and h[n], and is sometimes written as: [ ]knhnhk −= 0][ [ ]nhnh 0][ = ∑ ∞ −∞= −= k knhkxny ][][][ ][*][][ nhnxny =
  • 11. EE-2027 SaS, L4: 11/17 System Identification and Prediction Note that the system’s response to an arbitrary input signal is completely determined by its response to the unit impulse. Therefore, if we need to identify a particular LTI system, we can apply a unit impulse signal and measure the system’s response. That data can then be used to predict the system’s response to any input signal Note that describing an LTI system using h[n], is equivalent to a description using a difference equation. There is a direct mapping between h[n] and the parameters/order of a difference equation such as: y[n] = x[n] + 0.5x[n-1] + 0.25x[n-2] System: h[n] y[n]x[n]
  • 12. EE-2027 SaS, L4: 12/17 Example 1: LTI Convolution Consider a LTI system with the following unit impulse response: h[n] = [0 0 1 1 1 0 0] For the input sequence: x[n] = [0 0 0.5 2 0 0 0] The result is: y[n] = … + x[0]h[n] + x[1]h[n-1] + … = 0 + 0.5*[0 0 1 1 1 0 0] + 2.0*[0 0 0 1 1 1 0] + 0 = [0 0 0.5 2.5 2.5 2 0]
  • 13. EE-2027 SaS, L4: 13/17 Example 2: LTI Convolution Consider the problem described for example 1 Sketch x[k] and h[n-k] for any particular value of n, then multiply the two signals and sum over all values of k. For n<0, we see that x[k]h[n-k] = 0 for all k, since the non- zero values of the two signals do not overlap. y[0] = Σkx[k]h[0-k] = 0.5 y[1] = Σkx[k]h[1-k] = 0.5+2 y[2] = Σkx[k]h[2-k] = 0.5+2 y[3] = Σkx[k]h[3-k] = 2 As found in Example 1
  • 14. EE-2027 SaS, L4: 14/17 Example 3: LTI Convolution Consider a LTI system that has a step response h[n] = u[n] to the unit impulse input signal What is the response when an input signal of the form x[n] = αn u[n] where 0<α<1, is applied? For n≥0: Therefore, α α α − − = = + = ∑ 1 1 ][ 1 0 n n k k ny ][ 1 1 ][ 1 nuny n       − − = + α α
  • 15. EE-2027 SaS, L4: 15/17 Lecture 4: Summary Any discrete LTI system can be completely determined by measuring its unit impulse response h[n] This can be used to predict the response to an arbitrary input signal using the convolution operator: The output signal y[n] can be calculated by: • Sum of scaled signals – example 1 • Non-zero elements of h – example 2 The two ways of calculating the convolution are equivalent Calculated in Matlab using the conv() function (but note that there are some zero padding at start and end) ∑ ∞ −∞= −= k knhkxny ][][][
  • 16. EE-2027 SaS, L4: 16/17 Lecture 4: Exercises Q2.1-2.7, 2.21 Calculate the answer to Example 3 in Matlab, Slide 14