SlideShare a Scribd company logo
1 of 82
Download to read offline
1
Copyright © 2001, S. K. Mitra
Discrete-Time Systems
Discrete-Time Systems
• A discrete-time system processes a given
input sequence x[n] to generates an output
sequence y[n] with more desirable
properties
• In most applications, the discrete-time
system is a single-input, single-output
system:
System
time
Discrete−
x[n] y[n]
Input sequence Output sequence
2
Copyright © 2001, S. K. Mitra
Discrete-Time Systems:
Discrete-Time Systems:
Examples
Examples
• 2-input, 1-output discrete-time systems -
Modulator, adder
• 1-input, 1-output discrete-time systems -
Multiplier, unit delay, unit advance
3
Copyright © 2001, S. K. Mitra
Discrete-Time Systems: Examples
Discrete-Time Systems: Examples
• Accumulator -
• The output y[n] at time instant n is the sum
of the input sample x[n] at time instant n
and the previous output at time
instant which is the sum of all
previous input sample values from to
• The system cumulatively adds, i.e., it
accumulates all input sample values
∑
=
−∞
=
n
x
n
y
l
l]
[
]
[
]
[
]
1
[
]
[
]
[
1
n
x
n
y
n
x
x
n
+
−
=
+
∑
=
−
−∞
=
l
l
]
1
[ −
n
y
,
1
−
n
1
−
n
∞
−
4
Copyright © 2001, S. K. Mitra
Discrete-Time Systems:Examples
Discrete-Time Systems:Examples
• Accumulator - Input-output relation can
also be written in the form
• The second form is used for a causal input
sequence, in which case is called
the initial condition
∑
+
∑
=
=
−
−∞
=
n
x
x
n
y
0
1
]
[
]
[
]
[
l
l
l
l
,
]
[
]
1
[
0
∑
+
−
=
=
n
x
y
l
l
]
1
[−
y
0
≥
n
5
Copyright © 2001, S. K. Mitra
Discrete-Time Systems:Examples
Discrete-Time Systems:Examples
• M-point moving-average system -
• Used in smoothing random variations in
data
• An application: Consider
x[n] = s[n] + d[n],
where s[n] is the signal corrupted by a noise
d[n]
∑ −
=
−
=
1
0
]
[
1
]
[
M
k
k
n
x
M
n
y
6
Copyright © 2001, S. K. Mitra
d[n] - random signal
],
)
9
.
0
(
[
2
]
[ n
n
n
s =
Discrete-Time Systems:Examples
Discrete-Time Systems:Examples
0 10 20 30 40 50
-2
0
2
4
6
8
Time index n
Amplitude
d[n]
s[n]
x[n]
0 10 20 30 40 50
0
1
2
3
4
5
6
7
Time index n
Amplitude
s[n]
y[n]
7
Copyright © 2001, S. K. Mitra
Discrete-Time Systems:Examples
Discrete-Time Systems:Examples
• Linear interpolation - Employed to estimate
sample values between pairs of adjacent
sample values of a discrete-time sequence
• Factor-of-4 interpolation
0 1 2
3 4
5 6 7 8 9 10 11 12
n
y[n]
8
Copyright © 2001, S. K. Mitra
Discrete-Time Systems:
Discrete-Time Systems:
Examples
Examples
• Factor-of-2 interpolator -
• Factor-of-3 interpolator -
( )
]
1
[
]
1
[
2
1
]
[
]
[ +
+
−
+
= n
x
n
x
n
x
n
y u
u
u
( )
]
2
[
]
1
[
3
1
]
[
]
[ +
+
−
+
= n
x
n
x
n
x
n
y u
u
u
( )
]
1
[
]
2
[
3
2 +
+
−
+ n
x
n
x u
u
9
Copyright © 2001, S. K. Mitra
Discrete-Time Systems:
Discrete-Time Systems:
Classification
Classification
• Linear System
• Shift-Invariant System
• Causal System
• Stable System
• Passive and Lossless Systems
10
Copyright © 2001, S. K. Mitra
Linear Discrete-Time Systems
Linear Discrete-Time Systems
• Definition - If is the output due to an
input and is the output due to an
input then for an input
the output is given by
• Above property must hold for any arbitrary
constants and and for all possible
inputs and
]
[
1 n
y
]
[
1 n
x
]
[
2 n
x
]
[
2 n
y
]
[
]
[
]
[ 2
1 n
x
n
x
n
x β
α +
=
]
[
]
[
]
[ 2
1 n
y
n
y
n
y β
α +
=
α ,
β
]
[
1 n
x ]
[
2 n
x
11
Copyright © 2001, S. K. Mitra
Linear Discrete-Time Systems
Linear Discrete-Time Systems
• Accumulator -
• For an input
the output is
• Hence, the above system is linear
∑
=
∑
=
−∞
=
−∞
=
n
n
x
n
y
x
n
y
l
l
l
l ]
[
]
[
,
]
[
]
[ 2
2
1
1
]
[
]
[
]
[ 2
1 n
x
n
x
n
x β
α +
=
( )
∑ +
=
−∞
=
n
x
x
n
y
l
l
l ]
[
]
[
]
[ 2
1 β
α
]
[
]
[
]
[
]
[ 2
1
2
1 n
y
n
y
x
x
n
n
β
α
β
α +
=
∑
+
∑
=
−∞
=
−∞
= l
l
l
l
12
Copyright © 2001, S. K. Mitra
Linear Discrete-Time Systems
Linear Discrete-Time Systems
• The outputs and for inputs
and are given by
• The output y[n] for an input
is given by
∑
=
+
−
=
n
x
y
n
y
0
1
1
1 1
l
l]
[
]
[
]
[
∑
=
+
−
=
n
x
y
n
y
0
2
2
2 1
l
l]
[
]
[
]
[
]
[n
y1 ]
[n
y2
]
[n
x2
]
[n
x1
]
[
]
[ n
x
n
x 2
1 β
α +
∑
=
+
+
−
=
n
x
x
y
n
y
0
2
1
1
l
l
l ])
[
]
[
(
]
[
]
[ β
α
13
Copyright © 2001, S. K. Mitra
Linear Discrete-Time Systems
Linear Discrete-Time Systems
• Now
• Thus if
]
[
]
[ n
y
n
y 2
1 β
α +
)
]
[
]
[
( ∑
=
+
−
+
n
x
y
0
2
2 1
l
l
β
)
]
[
]
[
( ∑
=
+
−
=
n
x
y
0
1
1 1
l
l
α
)
]
[
]
[
(
])
[
]
[
( ∑
∑
=
=
+
+
−
+
−
=
n
n
x
x
y
y
0
2
0
1
2
1 1
1
l
l
l
l β
α
β
α
]
[
]
[
]
[ n
y
n
y
n
y 2
1 β
α +
=
]
[
]
[
]
[ 1
1
1 2
1 −
+
−
=
− y
y
y β
α
14
Copyright © 2001, S. K. Mitra
Linear Discrete-Time System
Linear Discrete-Time System
• For the causal accumulator to be linear the
condition
must hold for all initial conditions ,
, , and all constants α and β
• This condition cannot be satisfied unless the
accumulator is initially at rest with zero
initial condition
• For nonzero initial condition, the system is
nonlinear
]
[
]
[
]
[ 1
1
1 2
1 −
+
−
=
− y
y
y β
α
]
[ 1
−
y
]
[ 1
1 −
y ]
[ 1
2 −
y
15
Copyright © 2001, S. K. Mitra
Nonlinear Discrete-Time
Nonlinear Discrete-Time
System
System
• Consider
• Outputs and for inputs
and are given by
]
[
]
[
]
[
]
[ 1
1
2
+
−
−
= n
x
n
x
n
x
n
y
]
[n
y1
]
[
]
[
]
[
]
[ 1
1 1
1
2
1
1 +
−
−
= n
x
n
x
n
x
n
y
]
[n
y2
]
[
]
[
]
[
]
[ 1
1 2
2
2
2
2 +
−
−
= n
x
n
x
n
x
n
y
]
[n
x2
]
[n
x1
16
Copyright © 2001, S. K. Mitra
Nonlinear Discrete-Time
Nonlinear Discrete-Time
System
System
• Output y[n] due to an input
is given by
]
[
]
[ n
x
n
x 2
1 β
α +
2
2
1 ]}
[
]
[
{
]
[ n
x
n
x
n
y β
α +
=
]}
[
]
[
]}{
[
]
[
{ 1
1
1
1 2
1
2
1 +
+
+
−
+
−
− n
x
n
x
n
x
n
x β
α
β
α
]}
[
]
[
]
[
{ 1
1 1
1
2
1
2
+
−
−
= n
x
n
x
n
x
α
]}
[
]
[
]
[
{ 1
1 2
2
2
2
2
+
−
−
+ n
x
n
x
n
x
β
]}
[
]
[
]
[
]
[
]
[
]
[
{ 1
1
1
1
2 2
1
2
1
2
1 −
+
−
+
−
−
+ n
x
n
x
n
x
n
x
n
x
n
x
αβ
17
Copyright © 2001, S. K. Mitra
Nonlinear Discrete-Time
Nonlinear Discrete-Time
System
System
• On the other hand
• Hence, the system is nonlinear
]
[
]
[ n
y
n
y 2
1 β
α +
]}
[
]
[
]
[
{ 1
1 1
1
2
1 +
−
−
= n
x
n
x
n
x
α
]}
[
]
[
]
[
{ 1
1 2
2
2
2 +
−
−
+ n
x
n
x
n
x
β
]
[n
y
≠
18
Copyright © 2001, S. K. Mitra
Shift-Invariant System
Shift-Invariant System
• For a shift-invariant system, if is the
response to an input , then the response
to an input
is simply
where is any positive or negative integer
• The above relation must hold for any
arbitrary input and its corresponding output
]
[n
y1
]
[n
x1
]
[
]
[ o
n
n
x
n
x −
= 1
]
[
]
[ o
n
n
y
n
y −
= 1
o
n
19
Copyright © 2001, S. K. Mitra
Shift-Invariant System
Shift-Invariant System
• In the case of sequences and systems with
indices n related to discrete instants of time,
the above property is called time-invariance
property
• Time-invariance property ensures that for a
specified input, the output is independent of
the time the input is being applied
20
Copyright © 2001, S. K. Mitra
Shift-Invariant System
Shift-Invariant System
• Example - Consider the up-sampler with an
input-output relation given by
• For an input the output
is given by


 ±
±
=
=
otherwise
,
.....
,
,
,
],
/
[
]
[
0
2
0 L
L
n
L
n
x
n
xu
]
[
]
[ o
n
n
x
n
x −
=
1 ]
[
, n
x u
1


 ±
±
=
=
otherwise
,
.....
,
,
,
],
/
[
]
[
, 0
2
0
1
1
L
L
n
L
n
x
n
x u


 ±
±
=
−
=
otherwise
,
.....
,
,
,
],
/
)
[(
0
2
0 L
L
n
L
Ln
n
x o
21
Copyright © 2001, S. K. Mitra
Shift-Invariant System
Shift-Invariant System
• However from the definition of the up-sampler
• Hence, the up-sampler is a time-varying system
]
[ o
u n
n
x −


 ±
±
=
−
=
otherwise
,
.....
,
,
,
],
/
)
[(
0
2L
n
L
n
n
n
L
n
n
x o
o
o
o
]
[
, n
x u
1
≠
22
Copyright © 2001, S. K. Mitra
Linear Time-Invariant System
Linear Time-Invariant System
• Linear Time-Invariant (LTI) System -
A system satisfying both the linearity and
the time-invariance property
• LTI systems are mathematically easy to
analyze and characterize, and consequently,
easy to design
• Highly useful signal processing algorithms
have been developed utilizing this class of
systems over the last several decades
23
Copyright © 2001, S. K. Mitra
Causal System
Causal System
• In a causal system, the -th output sample
depends only on input samples x[n]
for and does not depend on input
samples for
• Let and be the responses of a
causal discrete-time system to the inputs
and , respectively
o
n
o
n
n ≤
o
n
n >
]
[ o
n
y
]
[n
y1 ]
[n
y2
]
[n
x2
]
[n
x1
24
Copyright © 2001, S. K. Mitra
Causal System
Causal System
• Then
for n < N
implies also that
for n < N
• For a causal system, changes in output
samples do not precede changes in the input
samples
]
[
]
[ 2
1 n
x
n
x =
]
[
]
[ 2
1 n
y
n
y =
25
Copyright © 2001, S. K. Mitra
Causal System
Causal System
• Examples of causal systems:
• Examples of noncausal systems:
]
[
]
[
]
[
]
[
]
[ 3
2
1 4
3
2
1 −
+
−
+
−
+
= n
x
n
x
n
x
n
x
n
y α
α
α
α
]
[
]
[
]
[
]
[ 2
1 2
1
0 −
+
−
+
= n
x
b
n
x
b
n
x
b
n
y
]
[
]
[ 2
1 2
1 −
+
−
+ n
y
a
n
y
a
]
[
]
[
]
[ n
x
n
y
n
y +
−
= 1
])
[
]
[
(
]
[
]
[ 1
1
2
1
+
+
−
+
= n
x
n
x
n
x
n
y u
u
u
])
[
]
[
(
]
[
]
[ 2
1
3
1
+
+
−
+
= n
x
n
x
n
x
n
y u
u
u
])
[
]
[
( 1
2
3
2
+
+
−
+ n
x
n
x u
u
26
Copyright © 2001, S. K. Mitra
Causal System
Causal System
• A noncausal system can be implemented as
a causal system by delaying the output by
an appropriate number of samples
• For example a causal implementation of the
factor-of-2 interpolator is given by
])
[
]
[
(
]
[
]
[ n
x
n
x
n
x
n
y u
u
u +
−
+
−
= 2
1
2
1
27
Copyright © 2001, S. K. Mitra
Stable System
Stable System
• There are various definitions of stability
• We consider here the bounded-input,
bounded-output (BIBO) stability
• If y[n] is the response to an input x[n] and if
for all values of n
then
for all values of n
x
B
n
x ≤
]
[
y
B
n
y ≤
]
[
28
Copyright © 2001, S. K. Mitra
Stable System
Stable System
• Example - The M-point moving average
filter is BIBO stable:
• For a bounded input we have
∑
−
=
−
=
1
0
1
M
k
M
k
n
x
n
y ]
[
]
[
x
B
n
x ≤
]
[
∑
∑
−
=
−
=
−
≤
−
=
1
0
1
1
0
1
M
k
M
M
k
M
k
n
x
k
n
x
n
y ]
[
]
[
]
[
x
x
M
B
MB ≤
≤ )
(
1
29
Copyright © 2001, S. K. Mitra
Passive and
Passive and Lossless
Lossless Systems
Systems
• A discrete-time system is defined to be
passive if, for every finite-energy input x[n],
the output y[n] has, at most, the same energy,
i.e.
• For a lossless system, the above inequality is
satisfied with an equal sign for every input
∞
<
≤ ∑
∑
∞
−∞
=
∞
−∞
= n
n
n
x
n
y
2
2
]
[
]
[
30
Copyright © 2001, S. K. Mitra
Passive and
Passive and Lossless
Lossless Systems
Systems
• Example - Consider the discrete-time
system defined by with N
a positive integer
• Its output energy is given by
• Hence, it is a passive system if and is
a lossless system if
]
[
]
[ N
n
x
n
y −
=α
∑
α
=
∑
∞
−∞
=
∞
−∞
= n
n
n
x
n
y
2
2
2
]
[
]
[
1
≤
α
1
=
α
31
Copyright © 2001, S. K. Mitra
Impulse and Step Responses
Impulse and Step Responses
• The response of a discrete-time system to a
unit sample sequence {δ[n]} is called the
unit sample response or simply, the
impulse response, and is denoted by {h[n]}
• The response of a discrete-time system to a
unit step sequence {µ[n]} is called the unit
step response or simply, the step response,
and is denoted by {s[n]}
32
Copyright © 2001, S. K. Mitra
Impulse Response
Impulse Response
• Example - The impulse response of the
system
is obtained by setting x[n] = δ[n] resulting
in
• The impulse response is thus a finite-length
sequence of length 4 given by
]
[
]
[
]
[
]
[
]
[ 3
2
1 4
3
2
1 −
+
−
+
−
+
= n
x
n
x
n
x
n
x
n
y α
α
α
α
]
[
]
[
]
[
]
[
]
[ 3
2
1 4
3
2
1 −
+
−
+
−
+
= n
n
n
n
n
h δ
α
δ
α
δ
α
δ
α
}
,
,
,
{
]}
[
{ 4
3
2
1 α
α
α
α
↑
=
n
h
33
Copyright © 2001, S. K. Mitra
Impulse Response
Impulse Response
• Example - The impulse response of the
discrete-time accumulator
is obtained by setting x[n] = δ[n] resulting
in
∑
−∞
=
=
n
x
n
y
l
l]
[
]
[
]
[
]
[
]
[ n
n
h
n
µ
δ =
= ∑
−∞
=
l
l
34
Copyright © 2001, S. K. Mitra
Impulse Response
Impulse Response
• Example - The impulse response {h[n]} of
the factor-of-2 interpolator
• is obtained by setting and is
given by
• The impulse response is thus a finite-length
sequence of length 3:
])
[
]
[
(
]
[
]
[ 1
1
2
1
+
+
−
+
= n
x
n
x
n
x
n
y u
u
u
])
[
]
[
(
]
[
]
[ 1
1
2
1
+
+
−
+
= n
n
n
n
h δ
δ
δ
}
.
,
.
{
]}
[
{ 5
0
1
5
0
↑
=
n
h
]
[
]
[ n
n
xu δ
=
35
Copyright © 2001, S. K. Mitra
Time-Domain Characterization
Time-Domain Characterization
of LTI Discrete-Time System
of LTI Discrete-Time System
• Input-Output Relationship -
A consequence of the linear, time-
invariance property is that an LTI discrete-
time system is completely characterized by
its impulse response
• Knowing the impulse response one
can compute the output of the system for
any arbitrary input
36
Copyright © 2001, S. K. Mitra
Time-Domain Characterization
Time-Domain Characterization
of LTI Discrete-Time System
of LTI Discrete-Time System
• Let h[n] denote the impulse response of a
LTI discrete-time system
• We compute its output y[n] for the input:
• As the system is linear, we can compute its
outputs for each member of the input
separately and add the individual outputs to
determine y[n]
]
5
[
75
.
0
]
2
[
]
1
[
5
.
1
]
2
[
5
.
0
]
[ −
δ
+
−
δ
−
−
δ
+
+
δ
= n
n
n
n
n
x
37
Copyright © 2001, S. K. Mitra
Time-Domain Characterization
Time-Domain Characterization
of LTI Discrete-Time System
of LTI Discrete-Time System
• Since the system is time-invariant
input output
]
2
[
]
2
[ +
→
+
δ n
h
n
]
1
[
]
1
[ −
→
−
δ n
h
n
]
2
[
]
2
[ −
→
−
δ n
h
n
]
5
[
]
5
[ −
→
−
δ n
h
n
38
Copyright © 2001, S. K. Mitra
Time-Domain Characterization
Time-Domain Characterization
of LTI Discrete-Time System
of LTI Discrete-Time System
• Likewise, as the system is linear
• Hence because of the linearity property we
get
]
5
[
75
.
0
]
5
[
75
.
0 −
→
−
δ n
h
n
input output
]
2
[
5
.
0
]
2
[
5
.
0 +
→
+
δ n
h
n
]
2
[
]
2
[ −
−
→
−
δ
− n
h
n
]
1
[
5
.
1
]
1
[
5
.
1 −
→
−
δ n
h
n
]
[
.
]
[
.
]
[ 1
5
1
2
5
0 −
+
+
= n
h
n
h
n
y
]
[
.
]
[ 5
75
0
2 −
+
−
− n
h
n
h
39
Copyright © 2001, S. K. Mitra
Time-Domain Characterization
Time-Domain Characterization
of LTI Discrete-Time System
of LTI Discrete-Time System
• Now, any arbitrary input sequence x[n] can
be expressed as a linear combination of
delayed and advanced unit sample
sequences in the form
• The response of the LTI system to an input
will be
∑ −
δ
=
∞
−∞
=
k
k
n
k
x
n
x ]
[
]
[
]
[
]
[
]
[ k
n
k
x −
δ ]
[
]
[ k
n
h
k
x −
40
Copyright © 2001, S. K. Mitra
Time-Domain Characterization
Time-Domain Characterization
of LTI Discrete-Time System
of LTI Discrete-Time System
• Hence, the response y[n] to an input
will be
which can be alternately written as
∑ −
δ
=
∞
−∞
=
k
k
n
k
x
n
x ]
[
]
[
]
[
∑ −
=
∞
−∞
=
k
k
n
h
k
x
n
y ]
[
]
[
]
[
∑
∞
−∞
=
−
=
k
k
h
k
n
x
n
y ]
[
]
[
]
[
41
Copyright © 2001, S. K. Mitra
Convolution Sum
Convolution Sum
• The summation
is called the convolution sum of the
sequences x[n] and h[n] and represented
compactly as
∑
∑
∞
−∞
=
∞
−∞
=
−
=
−
=
k
k
n
h
k
n
x
k
n
h
k
x
n
y ]
[
]
[
]
[
]
[
]
[
y[n] = x[n] h[n]
*
42
Copyright © 2001, S. K. Mitra
Convolution Sum
Convolution Sum
• Properties -
• Commutative property:
• Associative property :
• Distributive property :
x[n] h[n] = h[n] x[n]
* *
(x[n] h[n]) y[n] = x[n] (h[n] y[n])
*
*
*
*
x[n] (h[n] + y[n]) = x[n] h[n] + x[n] y[n]
*
* *
43
Copyright © 2001, S. K. Mitra
Convolution Sum
Convolution Sum
• Interpretation -
• 1) Time-reverse h[k] to form
• 2) Shift to the right by n sampling
periods if n > 0 or shift to the left by n
sampling periods if n < 0 to form
• 3) Form the product
• 4) Sum all samples of v[k] to develop the
n-th sample of y[n] of the convolution sum
]
[ k
h −
]
[ k
h −
]
[ k
n
h −
]
[
]
[
]
[ k
n
h
k
x
k
v −
=
44
Copyright © 2001, S. K. Mitra
Convolution Sum
Convolution Sum
• Schematic Representation -
• The computation of an output sample using
the convolution sum is simply a sum of
products
• Involves fairly simple operations such as
additions, multiplications, and delays
×
n
z
]
[ k
n
h −
]
[ k
h −
]
[k
x
]
[k
v
]
[n
y
∑
k
45
Copyright © 2001, S. K. Mitra
Convolution Sum
Convolution Sum
• We illustrate the convolution operation for
the following two sequences:
• Figures on the next several slides the steps
involved in the computation of
y[n] = x[n] h[n]
*


 ≤
≤
=
otherwise
,
0
5
0
,
1
]
[
n
n
x


 ≤
≤
−
=
otherwise
,
0
5
0
,
3
.
0
8
.
1
]
[
n
n
n
h
46
Copyright © 2001, S. K. Mitra
Convolution Sum
Convolution Sum
-10 0 10
-0.5
0
0.5
1
1.5
2
Amplitude Plot of x[-4- k] and h[k]
-10 0 10
0
1
2
3
Amplitude
h[k]x[-4- k]
-10 0 10
0
2
4
6
8
n
Amplitude
y[-4]
-10 0 10
0
2
4
6
8
n
Amplitude
y[n]
→
k →
k
47
Copyright © 2001, S. K. Mitra
Convolution Sum
Convolution Sum
-10 0 10
-0.5
0
0.5
1
1.5
2
Amplitude Plot of x[-1- k] and h[k]
-10 0 10
0
1
2
3
Amplitude
h[k]x[-1- k]
-10 0 10
0
2
4
6
8
n
Amplitude
y[-1]
-10 0 10
0
2
4
6
8
n
Amplitude
y[n] →
k
→
k
48
Copyright © 2001, S. K. Mitra
Convolution Sum
Convolution Sum
-10 0 10
-0.5
0
0.5
1
1.5
2
Amplitude Plot of x[0- k] and h[k]
-10 0 10
0
1
2
3
Amplitude
h[k]x[0- k]
-10 0 10
0
2
4
6
8
n
Amplitude
y[0]
-10 0 10
0
2
4
6
8
n
Amplitude
y[n] →
k
→
k
49
Copyright © 2001, S. K. Mitra
Convolution Sum
Convolution Sum
-10 0 10
-0.5
0
0.5
1
1.5
2
Amplitude Plot of x[1- k] and h[k]
-10 0 10
0
1
2
3
Amplitude
h[k]x[1- k]
-10 0 10
0
2
4
6
8
n
Amplitude
y[1]
-10 0 10
0
2
4
6
8
n
Amplitude
y[n]
→
k
→
k
50
Copyright © 2001, S. K. Mitra
Convolution Sum
Convolution Sum
-10 0 10
-0.5
0
0.5
1
1.5
2
Amplitude Plot of x[3- k] and h[k]
-10 0 10
0
1
2
3
Amplitude
h[k]x[3- k]
-10 0 10
0
2
4
6
8
n
Amplitude
y[3]
-10 0 10
0
2
4
6
8
n
Amplitude
y[n]
→
k
→
k
51
Copyright © 2001, S. K. Mitra
Convolution Sum
Convolution Sum
-10 0 10
-0.5
0
0.5
1
1.5
2
Amplitude Plot of x[5- k] and h[k]
-10 0 10
0
1
2
3
Amplitude
h[k]x[5- k]
-10 0 10
0
2
4
6
8
n
Amplitude
y[5]
-10 0 10
0
2
4
6
8
n
Amplitude
y[n]
→
k
→
k
52
Copyright © 2001, S. K. Mitra
Convolution Sum
Convolution Sum
-10 0 10
-0.5
0
0.5
1
1.5
2
Amplitude Plot of x[7- k] and h[k]
-10 0 10
0
1
2
3
Amplitude
h[k]x[7- k]
-10 0 10
0
2
4
6
8
n
Amplitude
y[7]
-10 0 10
0
2
4
6
8
n
Amplitude
y[n]
→
k
→
k
53
Copyright © 2001, S. K. Mitra
Convolution Sum
Convolution Sum
-10 0 10
-0.5
0
0.5
1
1.5
2
Amplitude Plot of x[9- k] and h[k]
-10 0 10
0
1
2
3
Amplitude
h[k]x[9- k]
-10 0 10
0
2
4
6
8
n
Amplitude
y[9]
-10 0 10
0
2
4
6
8
n
Amplitude
y[n]
→
k
→
k
54
Copyright © 2001, S. K. Mitra
Convolution Sum
Convolution Sum
-10 0 10
-0.5
0
0.5
1
1.5
2
Amplitude Plot of x[10- k] and h[k]
-10 0 10
0
1
2
3
Amplitude
h[k]x[10- k]
-10 0 10
0
2
4
6
8
n
Amplitude
y[10]
-10 0 10
0
2
4
6
8
n
Amplitude
y[n]
→
k
→
k
55
Copyright © 2001, S. K. Mitra
Convolution Sum
Convolution Sum
-10 0 10
-0.5
0
0.5
1
1.5
2
Amplitude Plot of x[12- k] and h[k]
-10 0 10
0
1
2
3
Amplitude
h[k]x[12- k]
-10 0 10
0
2
4
6
8
n
Amplitude
y[12]
-10 0 10
0
2
4
6
8
n
Amplitude
y[n]
→
k
→
k
56
Copyright © 2001, S. K. Mitra
Convolution Sum
Convolution Sum
-10 0 10
-0.5
0
0.5
1
1.5
2
Amplitude Plot of x[13- k] and h[k]
-10 0 10
0
1
2
3
Amplitude
h[k]x[13- k]
-10 0 10
0
2
4
6
8
n
Amplitude
y[13]
-10 0 10
0
2
4
6
8
n
Amplitude
y[n]
→
k
→
k
57
Copyright © 2001, S. K. Mitra
Time-Domain Characterization
Time-Domain Characterization
of LTI Discrete-Time System
of LTI Discrete-Time System
• In practice, if either the input or the impulse
response is of finite length, the convolution
sum can be used to compute the output
sample as it involves a finite sum of
products
• If both the input sequence and the impulse
response sequence are of finite length, the
output sequence is also of finite length
58
Copyright © 2001, S. K. Mitra
Time-Domain Characterization
Time-Domain Characterization
of LTI Discrete-Time System
of LTI Discrete-Time System
• If both the input sequence and the impulse
response sequence are of infinite length,
convolution sum cannot be used to compute
the output
• For systems characterized by an infinite
impulse response sequence, an alternate
time-domain description involving a finite
sum of products will be considered
59
Copyright © 2001, S. K. Mitra
Time-Domain Characterization
Time-Domain Characterization
of LTI Discrete-Time System
of LTI Discrete-Time System
• Example - Develop the sequence y[n]
generated by the convolution of the
sequences x[n] and h[n] shown below
0 1 2
3
1
2
–1
n
0
1 2
3
4
–2
1
3
–1
n
x[n]
h[n]
60
Copyright © 2001, S. K. Mitra
Time-Domain Characterization
Time-Domain Characterization
of LTI Discrete-Time System
of LTI Discrete-Time System
• As can be seen from the shifted time-
reversed version for n < 0, shown
below for , for any value of the
sample index k, the k-th sample of either
{x[k]} or is zero
3
−
=
n
]}
[
{ k
n
h −
]}
[
{ k
n
h −
1
2
–3 –2 –1 0
–4
–5
–6
–1
]
3
[ k
h −
−
k
61
Copyright © 2001, S. K. Mitra
Time-Domain Characterization
Time-Domain Characterization
of LTI Discrete-Time System
of LTI Discrete-Time System
• As a result, for n < 0, the product of the k-th
samples of {x[k]} and is always
zero, and hence
y[n] = 0 for n < 0
• Consider now the computation of y[0]
• The sequence
is shown
on the right
]}
[
{ k
n
h −
]}
[
{ k
h − 1
2
–3
–2 –1 0
–4
–5
–6 1 2 3
–1
k
]
[ k
h −
62
Copyright © 2001, S. K. Mitra
Time-Domain Characterization
Time-Domain Characterization
of LTI Discrete-Time System
of LTI Discrete-Time System
• The product sequence is plotted
below which has a single nonzero sample
for k = 0
• Thus
]}
[
]
[
{ k
h
k
x −
x[0]h[0]
2
0
0
0 −
=
= ]
[
]
[
]
[ h
x
y
0
1 2 3
–3 –2 –1
–4
–5
–2
k
]
[
]
[ k
h
k
x −
63
Copyright © 2001, S. K. Mitra
Time-Domain Characterization
Time-Domain Characterization
of LTI Discrete-Time System
of LTI Discrete-Time System
• For the computation of y[1], we shift
to the right by one sample period to form
as shown below on the left
• The product sequence is
shown below on the right
• Hence, 4
0
4
0
1
1
0
1 −
=
+
−
=
+
= ]
[
]
[
]
[
]
[
]
[ h
x
h
x
y
]}
[
]
[
{ k
h
k
x −
1
]}
[
{ k
h −
]}
[
{ k
h −
1
1
2
0 1 2 3
–1
–1
–2
–3
–4
–5
0
–3 –2 –1
–4
–5 1 2 3
–4
k
k
]
1
[ k
h − ]
1
[
]
[ k
h
k
x −
64
Copyright © 2001, S. K. Mitra
Time-Domain Characterization
Time-Domain Characterization
of LTI Discrete-Time System
of LTI Discrete-Time System
• To calculate y[2], we form as
shown below on the left
• The product sequence is
plotted below on the right
1
1
0
0
0
2
1
1
2
0
2 =
+
+
=
+
+
= ]
[
]
[
]
[
]
[
]
[
]
[
]
[ h
x
h
x
h
x
y
]}
[
{ k
h −
2
]}
[
]
[
{ k
h
k
x −
2
0
–3 –2 –1 1 2 3 4 5 6
1
k
1
2
0 1 2 3
–1
–1
–2
–3
–4 4 5
k
]
2
[ k
h −
]
2
[
]
[ k
h
k
x −
65
Copyright © 2001, S. K. Mitra
Time-Domain Characterization
Time-Domain Characterization
of LTI Discrete-Time System
of LTI Discrete-Time System
• Continuing the process we get
]
[
]
[
]
[
]
[
]
[
]
[
]
[
]
[
]
[ 0
3
1
2
2
1
3
0
3 h
x
h
x
h
x
h
x
y +
+
+
=
]
[
]
[
]
[
]
[
]
[
]
[
]
[
]
[
]
[ 0
4
1
3
2
2
3
1
4 h
x
h
x
h
x
h
x
y +
+
+
=
]
[
]
[
]
[
]
[
]
[
]
[
]
[ 1
4
2
3
3
2
5 h
x
h
x
h
x
y +
+
=
1
0
1
2
4
3
3
6 =
+
=
+
= ]
[
]
[
]
[
]
[
]
[ h
x
h
x
y
3
3
4
7 −
=
= ]
[
]
[
]
[ h
x
y
3
1
0
0
2 =
+
+
+
=
1
3
2
0
0 =
+
−
+
=
5
6
0
1 =
+
+
−
=
66
Copyright © 2001, S. K. Mitra
Time-Domain Characterization
Time-Domain Characterization
of LTI Discrete-Time System
of LTI Discrete-Time System
• From the plot of for n > 7 and the
plot of {x[k]} as shown below, it can be
seen that there is no overlap between these
two sequences
• As a result y[n] = 0 for n > 7
]}
[
{ k
n
h −
1
2
–1
5
6 7 8 9 10 11
2 3 4
]
8
[ k
h −
k
0
1 2
3
4
–2
1
3
–1
k
x[k]
67
Copyright © 2001, S. K. Mitra
Time-Domain Characterization
Time-Domain Characterization
of LTI Discrete-Time System
of LTI Discrete-Time System
• The sequence {y[n]} generated by the
convolution sum is shown below
–2
–4
1 1
1
3
5
–3
2 3 4 5 6
0 1
–2 –1
7
8 9
n
y[n]
68
Copyright © 2001, S. K. Mitra
Time-Domain Characterization
Time-Domain Characterization
of LTI Discrete-Time System
of LTI Discrete-Time System
• Note: The sum of indices of each sample
product inside the convolution sum is equal
to the index of the sample being generated
by the convolution operation
• For example, the computation of y[3] in the
previous example involves the products
x[0]h[3], x[1]h[2], x[2]h[1], and x[3]h[0]
• The sum of indices in each of these
products is equal to 3
69
Copyright © 2001, S. K. Mitra
Time-Domain Characterization
Time-Domain Characterization
of LTI Discrete-Time System
of LTI Discrete-Time System
• In the example considered the convolution
of a sequence {x[n]} of length 5 with a
sequence {h[n]} of length 4 resulted in a
sequence {y[n]} of length 8
• In general, if the lengths of the two
sequences being convolved are M and N,
then the sequence generated by the
convolution is of length 1
−
+ N
M
70
Copyright © 2001, S. K. Mitra
Convolution Using MATLAB
Convolution Using MATLAB
• The M-file conv implements the convolution
sum of two finite-length sequences
• If
then conv(a,b) yields
]
3
1
1
0
2
[
a −
−
=
]
1
-
0
2
1
[
b =
]
3
1
5
1
3
1
4
2
[ −
−
−
71
Copyright © 2001, S. K. Mitra
Simple Interconnection
Simple Interconnection
Schemes
Schemes
• Two simple interconnection schemes are:
• Cascade Connection
• Parallel Connection
72
Copyright © 2001, S. K. Mitra
Cascade Connection
Cascade Connection
• Impulse response h[n] of the cascade of two
LTI discrete-time systems with impulse
responses and is given by
]
[n
h1
]
[n
h2
]
[n
h1 ]
[n
h2
≡
]
[
]
[ n
h
n
h 1
= ]
[n
h2
]
[n
h1 *
≡
]
[n
h1 ]
[n
h2
]
[n
h2
]
[
]
[ n
h
n
h 1
= *
73
Copyright © 2001, S. K. Mitra
Cascade Connection
Cascade Connection
• Note: The ordering of the systems in the
cascade has no effect on the overall impulse
response because of the commutative
property of convolution
• A cascade connection of two stable systems
is stable
• A cascade connection of two passive
(lossless) systems is passive (lossless)
74
Copyright © 2001, S. K. Mitra
Cascade Connection
Cascade Connection
• An application is in the development of an
inverse system
• If the cascade connection satisfies the
relation
then the LTI system is said to be the
inverse of and vice-versa
]
[n
h1
]
[n
h2
]
[n
h2
]
[
1 n
h ]
[n
δ
=
*
75
Copyright © 2001, S. K. Mitra
Cascade Connection
Cascade Connection
• An application of the inverse system
concept is in the recovery of a signal x[n]
from its distorted version appearing at
the output of a transmission channel
• If the impulse response of the channel is
known, then x[n] can be recovered by
designing an inverse system of the channel
]
[
ˆ n
x
]
[n
h2
]
[n
h1
]
[n
x ]
[n
x
channel inverse system
]
[n
x
^
]
[n
h2
]
[n
h1 ]
[n
δ
=
*
76
Copyright © 2001, S. K. Mitra
Cascade Connection
Cascade Connection
• Example - Consider the discrete-time
accumulator with an impulse response µ[n]
• Its inverse system satisfy the condition
• It follows from the above that for
n < 0 and
for
0
2 =
]
[n
h
1
]
0
[
2 =
h
0
0
2 =
∑
=
n
h
l
l]
[ 1
≥
n
]
[n
h2
]
[n
µ ]
[n
δ
=
*
77
Copyright © 2001, S. K. Mitra
Cascade Connection
Cascade Connection
• Thus the impulse response of the inverse
system of the discrete-time accumulator is
given by
which is called a backward difference
system
]
1
[
]
[
]
[
2 −
δ
−
δ
= n
n
n
h
78
Copyright © 2001, S. K. Mitra
Parallel Connection
• Impulse response h[n] of the parallel
connection of two LTI discrete-time
systems with impulse responses and
is given by
]
[n
h2
]
[n
h1
+ ]
[
]
[ n
h
n
h 1
= ]
[n
h2
]
[n
h1
≡ +
]
[n
h1
]
[n
h2
]
[
]
[
]
[ n
h
n
h
n
h 2
1 +
=
79
Copyright © 2001, S. K. Mitra
Simple Interconnection Schemes
Simple Interconnection Schemes
• Consider the discrete-time system where
]
[n
h2
]
[n
h1 +
+
]
[n
h4
]
[n
h3
],
1
[
5
.
0
]
[
]
[
1 −
δ
+
δ
= n
n
n
h
],
1
[
25
.
0
]
[
5
.
0
]
[
2 −
δ
−
δ
= n
n
n
h
],
[
2
]
[
3 n
n
h δ
=
]
[
)
5
.
0
(
2
]
[
4 n
n
h n
µ
−
=
80
Copyright © 2001, S. K. Mitra
Simple Interconnection Schemes
Simple Interconnection Schemes
• Simplifying the block-diagram we obtain
]
[n
h2
]
[n
h1 +
]
[
]
[ 4
3 n
h
n
h +
]
[n
h1 +
])
[
]
[
(
]
[ 4
3
2 n
h
n
h
n
h +
*
≡
81
Copyright © 2001, S. K. Mitra
Simple Interconnection Schemes
Simple Interconnection Schemes
• Overall impulse response h[n] is given by
• Now,
]
[
]
[
]
[
]
[
]
[ n
h
n
h
n
h
n
h
n
h 4
2
3
2
1 +
+
=
])
[
]
[
(
]
[
]
[
]
[ n
h
n
h
n
h
n
h
n
h 4
3
2
1 +
+
= *
* *
]
[
2
])
1
[
]
[
(
]
[
]
[
4
1
2
1
3
2 n
n
n
n
h
n
h δ
−
δ
−
δ
=
]
1
[
]
[
2
1 −
δ
−
δ
= n
n
* *
82
Copyright © 2001, S. K. Mitra
Simple Interconnection Schemes
Simple Interconnection Schemes
• Therefore
]
1
[
)
(
]
[
)
( 1
2
1
2
1
2
1 −
µ
+
µ
−
= − n
n n
n
]
1
[
)
(
]
[
)
( 2
1
2
1 −
µ
+
µ
−
= n
n n
n
]
[
]
[
)
(2
1 n
n
n δ
−
=
δ
−
=
]
[
]
[
]
1
[
]
[
]
1
[
]
[
]
[ 2
1
2
1 n
n
n
n
n
n
n
h δ
=
δ
−
−
δ
−
δ
+
−
δ
+
δ
=
( )
]
[
)
(
2
])
1
[
]
[
(
]
[
]
[ 2
1
4
1
2
1
4
2 n
n
n
n
h
n
h nµ
−
−
δ
−
δ
=
* *

More Related Content

Similar to ch2-2

KEC-602 Control System Unit-3 gandgfdghhg
KEC-602 Control System Unit-3 gandgfdghhgKEC-602 Control System Unit-3 gandgfdghhg
KEC-602 Control System Unit-3 gandgfdghhgnomuss27
 
lecture_18-19_state_observer_design.pptx
lecture_18-19_state_observer_design.pptxlecture_18-19_state_observer_design.pptx
lecture_18-19_state_observer_design.pptxAnshulShekhar3
 
PPT Chapter-2-V2.pptx__26715_1_1539251776000.pptx.pptx
PPT Chapter-2-V2.pptx__26715_1_1539251776000.pptx.pptxPPT Chapter-2-V2.pptx__26715_1_1539251776000.pptx.pptx
PPT Chapter-2-V2.pptx__26715_1_1539251776000.pptx.pptxidrissaeed
 
Lecture3 Signal and Systems
Lecture3 Signal and SystemsLecture3 Signal and Systems
Lecture3 Signal and Systemsbabak danyal
 
time domain analysis.pptx
time domain analysis.pptxtime domain analysis.pptx
time domain analysis.pptxdeepaMS4
 
Lecture 14 15-time_domain_analysis_of_2nd_order_systems
Lecture 14 15-time_domain_analysis_of_2nd_order_systemsLecture 14 15-time_domain_analysis_of_2nd_order_systems
Lecture 14 15-time_domain_analysis_of_2nd_order_systemsSyed Ali Raza Rizvi
 
Classification of Systems: Part 1
Classification of Systems:  Part 1Classification of Systems:  Part 1
Classification of Systems: Part 1Dr.SHANTHI K.G
 
DIGITAL SIGNAL PROCESSING.pptx
DIGITAL SIGNAL PROCESSING.pptxDIGITAL SIGNAL PROCESSING.pptx
DIGITAL SIGNAL PROCESSING.pptxnishantsourav
 
Lecture_8-Digital implementation of analog controller design.pdf
Lecture_8-Digital implementation of analog controller design.pdfLecture_8-Digital implementation of analog controller design.pdf
Lecture_8-Digital implementation of analog controller design.pdfmohamedsamy9878
 
Discreate time system and z transform
Discreate time system and z transformDiscreate time system and z transform
Discreate time system and z transformVIKAS KUMAR MANJHI
 
Unit 2 signal &amp;system
Unit 2 signal &amp;systemUnit 2 signal &amp;system
Unit 2 signal &amp;systemsushant7dare
 
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 systemsINDIAN NAVY
 
lecture_1_introduction__review_of_classical_control.pptx
lecture_1_introduction__review_of_classical_control.pptxlecture_1_introduction__review_of_classical_control.pptx
lecture_1_introduction__review_of_classical_control.pptxjpradha86
 
Time Domain Specifications
Time Domain SpecificationsTime Domain Specifications
Time Domain SpecificationsRamkumareg
 

Similar to ch2-2 (20)

KEC-602 Control System Unit-3 gandgfdghhg
KEC-602 Control System Unit-3 gandgfdghhgKEC-602 Control System Unit-3 gandgfdghhg
KEC-602 Control System Unit-3 gandgfdghhg
 
DSP Lec 1.ppt
DSP Lec 1.pptDSP Lec 1.ppt
DSP Lec 1.ppt
 
lecture_18-19_state_observer_design.pptx
lecture_18-19_state_observer_design.pptxlecture_18-19_state_observer_design.pptx
lecture_18-19_state_observer_design.pptx
 
PPT Chapter-2-V2.pptx__26715_1_1539251776000.pptx.pptx
PPT Chapter-2-V2.pptx__26715_1_1539251776000.pptx.pptxPPT Chapter-2-V2.pptx__26715_1_1539251776000.pptx.pptx
PPT Chapter-2-V2.pptx__26715_1_1539251776000.pptx.pptx
 
Lect2-SignalProcessing (1).pdf
Lect2-SignalProcessing (1).pdfLect2-SignalProcessing (1).pdf
Lect2-SignalProcessing (1).pdf
 
Lecture3 Signal and Systems
Lecture3 Signal and SystemsLecture3 Signal and Systems
Lecture3 Signal and Systems
 
time domain analysis.pptx
time domain analysis.pptxtime domain analysis.pptx
time domain analysis.pptx
 
14599404.ppt
14599404.ppt14599404.ppt
14599404.ppt
 
Lecture 14 15-time_domain_analysis_of_2nd_order_systems
Lecture 14 15-time_domain_analysis_of_2nd_order_systemsLecture 14 15-time_domain_analysis_of_2nd_order_systems
Lecture 14 15-time_domain_analysis_of_2nd_order_systems
 
Classification of Systems: Part 1
Classification of Systems:  Part 1Classification of Systems:  Part 1
Classification of Systems: Part 1
 
Av 738-Adaptive Filters - Extended Kalman Filter
Av 738-Adaptive Filters - Extended Kalman FilterAv 738-Adaptive Filters - Extended Kalman Filter
Av 738-Adaptive Filters - Extended Kalman Filter
 
DIGITAL SIGNAL PROCESSING.pptx
DIGITAL SIGNAL PROCESSING.pptxDIGITAL SIGNAL PROCESSING.pptx
DIGITAL SIGNAL PROCESSING.pptx
 
Lecture_8-Digital implementation of analog controller design.pdf
Lecture_8-Digital implementation of analog controller design.pdfLecture_8-Digital implementation of analog controller design.pdf
Lecture_8-Digital implementation of analog controller design.pdf
 
Discreate time system and z transform
Discreate time system and z transformDiscreate time system and z transform
Discreate time system and z transform
 
Lecture 23 24-time_response
Lecture 23 24-time_responseLecture 23 24-time_response
Lecture 23 24-time_response
 
Unit 2 signal &amp;system
Unit 2 signal &amp;systemUnit 2 signal &amp;system
Unit 2 signal &amp;system
 
lecture4signals-181130200508.pptx
lecture4signals-181130200508.pptxlecture4signals-181130200508.pptx
lecture4signals-181130200508.pptx
 
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
 
lecture_1_introduction__review_of_classical_control.pptx
lecture_1_introduction__review_of_classical_control.pptxlecture_1_introduction__review_of_classical_control.pptx
lecture_1_introduction__review_of_classical_control.pptx
 
Time Domain Specifications
Time Domain SpecificationsTime Domain Specifications
Time Domain Specifications
 

More from ssuserb83554

Circular convolution
Circular convolutionCircular convolution
Circular convolutionssuserb83554
 
Shannon Switching - Presentation
Shannon Switching - PresentationShannon Switching - Presentation
Shannon Switching - Presentationssuserb83554
 
Rivers and Bridges - Lubeck
Rivers and Bridges - LubeckRivers and Bridges - Lubeck
Rivers and Bridges - Lubeckssuserb83554
 
Rivers and Bridges - Konigsberg-Kalingrad
Rivers and Bridges - Konigsberg-KalingradRivers and Bridges - Konigsberg-Kalingrad
Rivers and Bridges - Konigsberg-Kalingradssuserb83554
 
Rivers and Bridges - Gdansk
Rivers and Bridges - GdanskRivers and Bridges - Gdansk
Rivers and Bridges - Gdanskssuserb83554
 
Rivers and Bridges - Budapest
Rivers and Bridges - BudapestRivers and Bridges - Budapest
Rivers and Bridges - Budapestssuserb83554
 
Essential of Economic Sustainability
Essential of Economic SustainabilityEssential of Economic Sustainability
Essential of Economic Sustainabilityssuserb83554
 
Dimensions of Effective Teaching
Dimensions of Effective TeachingDimensions of Effective Teaching
Dimensions of Effective Teachingssuserb83554
 
Lecture 2: Entropy and Mutual Information
Lecture 2: Entropy and Mutual InformationLecture 2: Entropy and Mutual Information
Lecture 2: Entropy and Mutual Informationssuserb83554
 
Lecture 1. Introduction
Lecture 1. IntroductionLecture 1. Introduction
Lecture 1. Introductionssuserb83554
 
An Introduction to MAGMA
An Introduction to MAGMAAn Introduction to MAGMA
An Introduction to MAGMAssuserb83554
 

More from ssuserb83554 (17)

ch3-4
ch3-4ch3-4
ch3-4
 
ch3-3
ch3-3ch3-3
ch3-3
 
ch3-2
ch3-2ch3-2
ch3-2
 
ch3-1
ch3-1ch3-1
ch3-1
 
ch2-1
ch2-1ch2-1
ch2-1
 
ch1
ch1ch1
ch1
 
Circular convolution
Circular convolutionCircular convolution
Circular convolution
 
Shannon Switching - Presentation
Shannon Switching - PresentationShannon Switching - Presentation
Shannon Switching - Presentation
 
Rivers and Bridges - Lubeck
Rivers and Bridges - LubeckRivers and Bridges - Lubeck
Rivers and Bridges - Lubeck
 
Rivers and Bridges - Konigsberg-Kalingrad
Rivers and Bridges - Konigsberg-KalingradRivers and Bridges - Konigsberg-Kalingrad
Rivers and Bridges - Konigsberg-Kalingrad
 
Rivers and Bridges - Gdansk
Rivers and Bridges - GdanskRivers and Bridges - Gdansk
Rivers and Bridges - Gdansk
 
Rivers and Bridges - Budapest
Rivers and Bridges - BudapestRivers and Bridges - Budapest
Rivers and Bridges - Budapest
 
Essential of Economic Sustainability
Essential of Economic SustainabilityEssential of Economic Sustainability
Essential of Economic Sustainability
 
Dimensions of Effective Teaching
Dimensions of Effective TeachingDimensions of Effective Teaching
Dimensions of Effective Teaching
 
Lecture 2: Entropy and Mutual Information
Lecture 2: Entropy and Mutual InformationLecture 2: Entropy and Mutual Information
Lecture 2: Entropy and Mutual Information
 
Lecture 1. Introduction
Lecture 1. IntroductionLecture 1. Introduction
Lecture 1. Introduction
 
An Introduction to MAGMA
An Introduction to MAGMAAn Introduction to MAGMA
An Introduction to MAGMA
 

Recently uploaded

Autodesk Construction Cloud (Autodesk Build).pptx
Autodesk Construction Cloud (Autodesk Build).pptxAutodesk Construction Cloud (Autodesk Build).pptx
Autodesk Construction Cloud (Autodesk Build).pptxMustafa Ahmed
 
NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024
NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024
NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024EMMANUELLEFRANCEHELI
 
handbook on reinforce concrete and detailing
handbook on reinforce concrete and detailinghandbook on reinforce concrete and detailing
handbook on reinforce concrete and detailingAshishSingh1301
 
Diploma Engineering Drawing Qp-2024 Ece .pdf
Diploma Engineering Drawing Qp-2024 Ece .pdfDiploma Engineering Drawing Qp-2024 Ece .pdf
Diploma Engineering Drawing Qp-2024 Ece .pdfJNTUA
 
engineering chemistry power point presentation
engineering chemistry  power point presentationengineering chemistry  power point presentation
engineering chemistry power point presentationsj9399037128
 
Intro to Design (for Engineers) at Sydney Uni
Intro to Design (for Engineers) at Sydney UniIntro to Design (for Engineers) at Sydney Uni
Intro to Design (for Engineers) at Sydney UniR. Sosa
 
Circuit Breakers for Engineering Students
Circuit Breakers for Engineering StudentsCircuit Breakers for Engineering Students
Circuit Breakers for Engineering Studentskannan348865
 
15-Minute City: A Completely New Horizon
15-Minute City: A Completely New Horizon15-Minute City: A Completely New Horizon
15-Minute City: A Completely New HorizonMorshed Ahmed Rahath
 
Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...
Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...
Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...drjose256
 
Seizure stage detection of epileptic seizure using convolutional neural networks
Seizure stage detection of epileptic seizure using convolutional neural networksSeizure stage detection of epileptic seizure using convolutional neural networks
Seizure stage detection of epileptic seizure using convolutional neural networksIJECEIAES
 
litvinenko_Henry_Intrusion_Hong-Kong_2024.pdf
litvinenko_Henry_Intrusion_Hong-Kong_2024.pdflitvinenko_Henry_Intrusion_Hong-Kong_2024.pdf
litvinenko_Henry_Intrusion_Hong-Kong_2024.pdfAlexander Litvinenko
 
Maximizing Incident Investigation Efficacy in Oil & Gas: Techniques and Tools
Maximizing Incident Investigation Efficacy in Oil & Gas: Techniques and ToolsMaximizing Incident Investigation Efficacy in Oil & Gas: Techniques and Tools
Maximizing Incident Investigation Efficacy in Oil & Gas: Techniques and Toolssoginsider
 
Theory of Time 2024 (Universal Theory for Everything)
Theory of Time 2024 (Universal Theory for Everything)Theory of Time 2024 (Universal Theory for Everything)
Theory of Time 2024 (Universal Theory for Everything)Ramkumar k
 
UNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptxUNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptxkalpana413121
 
Artificial Intelligence in due diligence
Artificial Intelligence in due diligenceArtificial Intelligence in due diligence
Artificial Intelligence in due diligencemahaffeycheryld
 
Seismic Hazard Assessment Software in Python by Prof. Dr. Costas Sachpazis
Seismic Hazard Assessment Software in Python by Prof. Dr. Costas SachpazisSeismic Hazard Assessment Software in Python by Prof. Dr. Costas Sachpazis
Seismic Hazard Assessment Software in Python by Prof. Dr. Costas SachpazisDr.Costas Sachpazis
 
Interfacing Analog to Digital Data Converters ee3404.pdf
Interfacing Analog to Digital Data Converters ee3404.pdfInterfacing Analog to Digital Data Converters ee3404.pdf
Interfacing Analog to Digital Data Converters ee3404.pdfragupathi90
 
Research Methodolgy & Intellectual Property Rights Series 1
Research Methodolgy & Intellectual Property Rights Series 1Research Methodolgy & Intellectual Property Rights Series 1
Research Methodolgy & Intellectual Property Rights Series 1T.D. Shashikala
 
Basics of Relay for Engineering Students
Basics of Relay for Engineering StudentsBasics of Relay for Engineering Students
Basics of Relay for Engineering Studentskannan348865
 
Independent Solar-Powered Electric Vehicle Charging Station
Independent Solar-Powered Electric Vehicle Charging StationIndependent Solar-Powered Electric Vehicle Charging Station
Independent Solar-Powered Electric Vehicle Charging Stationsiddharthteach18
 

Recently uploaded (20)

Autodesk Construction Cloud (Autodesk Build).pptx
Autodesk Construction Cloud (Autodesk Build).pptxAutodesk Construction Cloud (Autodesk Build).pptx
Autodesk Construction Cloud (Autodesk Build).pptx
 
NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024
NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024
NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024
 
handbook on reinforce concrete and detailing
handbook on reinforce concrete and detailinghandbook on reinforce concrete and detailing
handbook on reinforce concrete and detailing
 
Diploma Engineering Drawing Qp-2024 Ece .pdf
Diploma Engineering Drawing Qp-2024 Ece .pdfDiploma Engineering Drawing Qp-2024 Ece .pdf
Diploma Engineering Drawing Qp-2024 Ece .pdf
 
engineering chemistry power point presentation
engineering chemistry  power point presentationengineering chemistry  power point presentation
engineering chemistry power point presentation
 
Intro to Design (for Engineers) at Sydney Uni
Intro to Design (for Engineers) at Sydney UniIntro to Design (for Engineers) at Sydney Uni
Intro to Design (for Engineers) at Sydney Uni
 
Circuit Breakers for Engineering Students
Circuit Breakers for Engineering StudentsCircuit Breakers for Engineering Students
Circuit Breakers for Engineering Students
 
15-Minute City: A Completely New Horizon
15-Minute City: A Completely New Horizon15-Minute City: A Completely New Horizon
15-Minute City: A Completely New Horizon
 
Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...
Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...
Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...
 
Seizure stage detection of epileptic seizure using convolutional neural networks
Seizure stage detection of epileptic seizure using convolutional neural networksSeizure stage detection of epileptic seizure using convolutional neural networks
Seizure stage detection of epileptic seizure using convolutional neural networks
 
litvinenko_Henry_Intrusion_Hong-Kong_2024.pdf
litvinenko_Henry_Intrusion_Hong-Kong_2024.pdflitvinenko_Henry_Intrusion_Hong-Kong_2024.pdf
litvinenko_Henry_Intrusion_Hong-Kong_2024.pdf
 
Maximizing Incident Investigation Efficacy in Oil & Gas: Techniques and Tools
Maximizing Incident Investigation Efficacy in Oil & Gas: Techniques and ToolsMaximizing Incident Investigation Efficacy in Oil & Gas: Techniques and Tools
Maximizing Incident Investigation Efficacy in Oil & Gas: Techniques and Tools
 
Theory of Time 2024 (Universal Theory for Everything)
Theory of Time 2024 (Universal Theory for Everything)Theory of Time 2024 (Universal Theory for Everything)
Theory of Time 2024 (Universal Theory for Everything)
 
UNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptxUNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptx
 
Artificial Intelligence in due diligence
Artificial Intelligence in due diligenceArtificial Intelligence in due diligence
Artificial Intelligence in due diligence
 
Seismic Hazard Assessment Software in Python by Prof. Dr. Costas Sachpazis
Seismic Hazard Assessment Software in Python by Prof. Dr. Costas SachpazisSeismic Hazard Assessment Software in Python by Prof. Dr. Costas Sachpazis
Seismic Hazard Assessment Software in Python by Prof. Dr. Costas Sachpazis
 
Interfacing Analog to Digital Data Converters ee3404.pdf
Interfacing Analog to Digital Data Converters ee3404.pdfInterfacing Analog to Digital Data Converters ee3404.pdf
Interfacing Analog to Digital Data Converters ee3404.pdf
 
Research Methodolgy & Intellectual Property Rights Series 1
Research Methodolgy & Intellectual Property Rights Series 1Research Methodolgy & Intellectual Property Rights Series 1
Research Methodolgy & Intellectual Property Rights Series 1
 
Basics of Relay for Engineering Students
Basics of Relay for Engineering StudentsBasics of Relay for Engineering Students
Basics of Relay for Engineering Students
 
Independent Solar-Powered Electric Vehicle Charging Station
Independent Solar-Powered Electric Vehicle Charging StationIndependent Solar-Powered Electric Vehicle Charging Station
Independent Solar-Powered Electric Vehicle Charging Station
 

ch2-2

  • 1. 1 Copyright © 2001, S. K. Mitra Discrete-Time Systems Discrete-Time Systems • A discrete-time system processes a given input sequence x[n] to generates an output sequence y[n] with more desirable properties • In most applications, the discrete-time system is a single-input, single-output system: System time Discrete− x[n] y[n] Input sequence Output sequence
  • 2. 2 Copyright © 2001, S. K. Mitra Discrete-Time Systems: Discrete-Time Systems: Examples Examples • 2-input, 1-output discrete-time systems - Modulator, adder • 1-input, 1-output discrete-time systems - Multiplier, unit delay, unit advance
  • 3. 3 Copyright © 2001, S. K. Mitra Discrete-Time Systems: Examples Discrete-Time Systems: Examples • Accumulator - • The output y[n] at time instant n is the sum of the input sample x[n] at time instant n and the previous output at time instant which is the sum of all previous input sample values from to • The system cumulatively adds, i.e., it accumulates all input sample values ∑ = −∞ = n x n y l l] [ ] [ ] [ ] 1 [ ] [ ] [ 1 n x n y n x x n + − = + ∑ = − −∞ = l l ] 1 [ − n y , 1 − n 1 − n ∞ −
  • 4. 4 Copyright © 2001, S. K. Mitra Discrete-Time Systems:Examples Discrete-Time Systems:Examples • Accumulator - Input-output relation can also be written in the form • The second form is used for a causal input sequence, in which case is called the initial condition ∑ + ∑ = = − −∞ = n x x n y 0 1 ] [ ] [ ] [ l l l l , ] [ ] 1 [ 0 ∑ + − = = n x y l l ] 1 [− y 0 ≥ n
  • 5. 5 Copyright © 2001, S. K. Mitra Discrete-Time Systems:Examples Discrete-Time Systems:Examples • M-point moving-average system - • Used in smoothing random variations in data • An application: Consider x[n] = s[n] + d[n], where s[n] is the signal corrupted by a noise d[n] ∑ − = − = 1 0 ] [ 1 ] [ M k k n x M n y
  • 6. 6 Copyright © 2001, S. K. Mitra d[n] - random signal ], ) 9 . 0 ( [ 2 ] [ n n n s = Discrete-Time Systems:Examples Discrete-Time Systems:Examples 0 10 20 30 40 50 -2 0 2 4 6 8 Time index n Amplitude d[n] s[n] x[n] 0 10 20 30 40 50 0 1 2 3 4 5 6 7 Time index n Amplitude s[n] y[n]
  • 7. 7 Copyright © 2001, S. K. Mitra Discrete-Time Systems:Examples Discrete-Time Systems:Examples • Linear interpolation - Employed to estimate sample values between pairs of adjacent sample values of a discrete-time sequence • Factor-of-4 interpolation 0 1 2 3 4 5 6 7 8 9 10 11 12 n y[n]
  • 8. 8 Copyright © 2001, S. K. Mitra Discrete-Time Systems: Discrete-Time Systems: Examples Examples • Factor-of-2 interpolator - • Factor-of-3 interpolator - ( ) ] 1 [ ] 1 [ 2 1 ] [ ] [ + + − + = n x n x n x n y u u u ( ) ] 2 [ ] 1 [ 3 1 ] [ ] [ + + − + = n x n x n x n y u u u ( ) ] 1 [ ] 2 [ 3 2 + + − + n x n x u u
  • 9. 9 Copyright © 2001, S. K. Mitra Discrete-Time Systems: Discrete-Time Systems: Classification Classification • Linear System • Shift-Invariant System • Causal System • Stable System • Passive and Lossless Systems
  • 10. 10 Copyright © 2001, S. K. Mitra Linear Discrete-Time Systems Linear Discrete-Time Systems • Definition - If is the output due to an input and is the output due to an input then for an input the output is given by • Above property must hold for any arbitrary constants and and for all possible inputs and ] [ 1 n y ] [ 1 n x ] [ 2 n x ] [ 2 n y ] [ ] [ ] [ 2 1 n x n x n x β α + = ] [ ] [ ] [ 2 1 n y n y n y β α + = α , β ] [ 1 n x ] [ 2 n x
  • 11. 11 Copyright © 2001, S. K. Mitra Linear Discrete-Time Systems Linear Discrete-Time Systems • Accumulator - • For an input the output is • Hence, the above system is linear ∑ = ∑ = −∞ = −∞ = n n x n y x n y l l l l ] [ ] [ , ] [ ] [ 2 2 1 1 ] [ ] [ ] [ 2 1 n x n x n x β α + = ( ) ∑ + = −∞ = n x x n y l l l ] [ ] [ ] [ 2 1 β α ] [ ] [ ] [ ] [ 2 1 2 1 n y n y x x n n β α β α + = ∑ + ∑ = −∞ = −∞ = l l l l
  • 12. 12 Copyright © 2001, S. K. Mitra Linear Discrete-Time Systems Linear Discrete-Time Systems • The outputs and for inputs and are given by • The output y[n] for an input is given by ∑ = + − = n x y n y 0 1 1 1 1 l l] [ ] [ ] [ ∑ = + − = n x y n y 0 2 2 2 1 l l] [ ] [ ] [ ] [n y1 ] [n y2 ] [n x2 ] [n x1 ] [ ] [ n x n x 2 1 β α + ∑ = + + − = n x x y n y 0 2 1 1 l l l ]) [ ] [ ( ] [ ] [ β α
  • 13. 13 Copyright © 2001, S. K. Mitra Linear Discrete-Time Systems Linear Discrete-Time Systems • Now • Thus if ] [ ] [ n y n y 2 1 β α + ) ] [ ] [ ( ∑ = + − + n x y 0 2 2 1 l l β ) ] [ ] [ ( ∑ = + − = n x y 0 1 1 1 l l α ) ] [ ] [ ( ]) [ ] [ ( ∑ ∑ = = + + − + − = n n x x y y 0 2 0 1 2 1 1 1 l l l l β α β α ] [ ] [ ] [ n y n y n y 2 1 β α + = ] [ ] [ ] [ 1 1 1 2 1 − + − = − y y y β α
  • 14. 14 Copyright © 2001, S. K. Mitra Linear Discrete-Time System Linear Discrete-Time System • For the causal accumulator to be linear the condition must hold for all initial conditions , , , and all constants α and β • This condition cannot be satisfied unless the accumulator is initially at rest with zero initial condition • For nonzero initial condition, the system is nonlinear ] [ ] [ ] [ 1 1 1 2 1 − + − = − y y y β α ] [ 1 − y ] [ 1 1 − y ] [ 1 2 − y
  • 15. 15 Copyright © 2001, S. K. Mitra Nonlinear Discrete-Time Nonlinear Discrete-Time System System • Consider • Outputs and for inputs and are given by ] [ ] [ ] [ ] [ 1 1 2 + − − = n x n x n x n y ] [n y1 ] [ ] [ ] [ ] [ 1 1 1 1 2 1 1 + − − = n x n x n x n y ] [n y2 ] [ ] [ ] [ ] [ 1 1 2 2 2 2 2 + − − = n x n x n x n y ] [n x2 ] [n x1
  • 16. 16 Copyright © 2001, S. K. Mitra Nonlinear Discrete-Time Nonlinear Discrete-Time System System • Output y[n] due to an input is given by ] [ ] [ n x n x 2 1 β α + 2 2 1 ]} [ ] [ { ] [ n x n x n y β α + = ]} [ ] [ ]}{ [ ] [ { 1 1 1 1 2 1 2 1 + + + − + − − n x n x n x n x β α β α ]} [ ] [ ] [ { 1 1 1 1 2 1 2 + − − = n x n x n x α ]} [ ] [ ] [ { 1 1 2 2 2 2 2 + − − + n x n x n x β ]} [ ] [ ] [ ] [ ] [ ] [ { 1 1 1 1 2 2 1 2 1 2 1 − + − + − − + n x n x n x n x n x n x αβ
  • 17. 17 Copyright © 2001, S. K. Mitra Nonlinear Discrete-Time Nonlinear Discrete-Time System System • On the other hand • Hence, the system is nonlinear ] [ ] [ n y n y 2 1 β α + ]} [ ] [ ] [ { 1 1 1 1 2 1 + − − = n x n x n x α ]} [ ] [ ] [ { 1 1 2 2 2 2 + − − + n x n x n x β ] [n y ≠
  • 18. 18 Copyright © 2001, S. K. Mitra Shift-Invariant System Shift-Invariant System • For a shift-invariant system, if is the response to an input , then the response to an input is simply where is any positive or negative integer • The above relation must hold for any arbitrary input and its corresponding output ] [n y1 ] [n x1 ] [ ] [ o n n x n x − = 1 ] [ ] [ o n n y n y − = 1 o n
  • 19. 19 Copyright © 2001, S. K. Mitra Shift-Invariant System Shift-Invariant System • In the case of sequences and systems with indices n related to discrete instants of time, the above property is called time-invariance property • Time-invariance property ensures that for a specified input, the output is independent of the time the input is being applied
  • 20. 20 Copyright © 2001, S. K. Mitra Shift-Invariant System Shift-Invariant System • Example - Consider the up-sampler with an input-output relation given by • For an input the output is given by    ± ± = = otherwise , ..... , , , ], / [ ] [ 0 2 0 L L n L n x n xu ] [ ] [ o n n x n x − = 1 ] [ , n x u 1    ± ± = = otherwise , ..... , , , ], / [ ] [ , 0 2 0 1 1 L L n L n x n x u    ± ± = − = otherwise , ..... , , , ], / ) [( 0 2 0 L L n L Ln n x o
  • 21. 21 Copyright © 2001, S. K. Mitra Shift-Invariant System Shift-Invariant System • However from the definition of the up-sampler • Hence, the up-sampler is a time-varying system ] [ o u n n x −    ± ± = − = otherwise , ..... , , , ], / ) [( 0 2L n L n n n L n n x o o o o ] [ , n x u 1 ≠
  • 22. 22 Copyright © 2001, S. K. Mitra Linear Time-Invariant System Linear Time-Invariant System • Linear Time-Invariant (LTI) System - A system satisfying both the linearity and the time-invariance property • LTI systems are mathematically easy to analyze and characterize, and consequently, easy to design • Highly useful signal processing algorithms have been developed utilizing this class of systems over the last several decades
  • 23. 23 Copyright © 2001, S. K. Mitra Causal System Causal System • In a causal system, the -th output sample depends only on input samples x[n] for and does not depend on input samples for • Let and be the responses of a causal discrete-time system to the inputs and , respectively o n o n n ≤ o n n > ] [ o n y ] [n y1 ] [n y2 ] [n x2 ] [n x1
  • 24. 24 Copyright © 2001, S. K. Mitra Causal System Causal System • Then for n < N implies also that for n < N • For a causal system, changes in output samples do not precede changes in the input samples ] [ ] [ 2 1 n x n x = ] [ ] [ 2 1 n y n y =
  • 25. 25 Copyright © 2001, S. K. Mitra Causal System Causal System • Examples of causal systems: • Examples of noncausal systems: ] [ ] [ ] [ ] [ ] [ 3 2 1 4 3 2 1 − + − + − + = n x n x n x n x n y α α α α ] [ ] [ ] [ ] [ 2 1 2 1 0 − + − + = n x b n x b n x b n y ] [ ] [ 2 1 2 1 − + − + n y a n y a ] [ ] [ ] [ n x n y n y + − = 1 ]) [ ] [ ( ] [ ] [ 1 1 2 1 + + − + = n x n x n x n y u u u ]) [ ] [ ( ] [ ] [ 2 1 3 1 + + − + = n x n x n x n y u u u ]) [ ] [ ( 1 2 3 2 + + − + n x n x u u
  • 26. 26 Copyright © 2001, S. K. Mitra Causal System Causal System • A noncausal system can be implemented as a causal system by delaying the output by an appropriate number of samples • For example a causal implementation of the factor-of-2 interpolator is given by ]) [ ] [ ( ] [ ] [ n x n x n x n y u u u + − + − = 2 1 2 1
  • 27. 27 Copyright © 2001, S. K. Mitra Stable System Stable System • There are various definitions of stability • We consider here the bounded-input, bounded-output (BIBO) stability • If y[n] is the response to an input x[n] and if for all values of n then for all values of n x B n x ≤ ] [ y B n y ≤ ] [
  • 28. 28 Copyright © 2001, S. K. Mitra Stable System Stable System • Example - The M-point moving average filter is BIBO stable: • For a bounded input we have ∑ − = − = 1 0 1 M k M k n x n y ] [ ] [ x B n x ≤ ] [ ∑ ∑ − = − = − ≤ − = 1 0 1 1 0 1 M k M M k M k n x k n x n y ] [ ] [ ] [ x x M B MB ≤ ≤ ) ( 1
  • 29. 29 Copyright © 2001, S. K. Mitra Passive and Passive and Lossless Lossless Systems Systems • A discrete-time system is defined to be passive if, for every finite-energy input x[n], the output y[n] has, at most, the same energy, i.e. • For a lossless system, the above inequality is satisfied with an equal sign for every input ∞ < ≤ ∑ ∑ ∞ −∞ = ∞ −∞ = n n n x n y 2 2 ] [ ] [
  • 30. 30 Copyright © 2001, S. K. Mitra Passive and Passive and Lossless Lossless Systems Systems • Example - Consider the discrete-time system defined by with N a positive integer • Its output energy is given by • Hence, it is a passive system if and is a lossless system if ] [ ] [ N n x n y − =α ∑ α = ∑ ∞ −∞ = ∞ −∞ = n n n x n y 2 2 2 ] [ ] [ 1 ≤ α 1 = α
  • 31. 31 Copyright © 2001, S. K. Mitra Impulse and Step Responses Impulse and Step Responses • The response of a discrete-time system to a unit sample sequence {δ[n]} is called the unit sample response or simply, the impulse response, and is denoted by {h[n]} • The response of a discrete-time system to a unit step sequence {µ[n]} is called the unit step response or simply, the step response, and is denoted by {s[n]}
  • 32. 32 Copyright © 2001, S. K. Mitra Impulse Response Impulse Response • Example - The impulse response of the system is obtained by setting x[n] = δ[n] resulting in • The impulse response is thus a finite-length sequence of length 4 given by ] [ ] [ ] [ ] [ ] [ 3 2 1 4 3 2 1 − + − + − + = n x n x n x n x n y α α α α ] [ ] [ ] [ ] [ ] [ 3 2 1 4 3 2 1 − + − + − + = n n n n n h δ α δ α δ α δ α } , , , { ]} [ { 4 3 2 1 α α α α ↑ = n h
  • 33. 33 Copyright © 2001, S. K. Mitra Impulse Response Impulse Response • Example - The impulse response of the discrete-time accumulator is obtained by setting x[n] = δ[n] resulting in ∑ −∞ = = n x n y l l] [ ] [ ] [ ] [ ] [ n n h n µ δ = = ∑ −∞ = l l
  • 34. 34 Copyright © 2001, S. K. Mitra Impulse Response Impulse Response • Example - The impulse response {h[n]} of the factor-of-2 interpolator • is obtained by setting and is given by • The impulse response is thus a finite-length sequence of length 3: ]) [ ] [ ( ] [ ] [ 1 1 2 1 + + − + = n x n x n x n y u u u ]) [ ] [ ( ] [ ] [ 1 1 2 1 + + − + = n n n n h δ δ δ } . , . { ]} [ { 5 0 1 5 0 ↑ = n h ] [ ] [ n n xu δ =
  • 35. 35 Copyright © 2001, S. K. Mitra Time-Domain Characterization Time-Domain Characterization of LTI Discrete-Time System of LTI Discrete-Time System • Input-Output Relationship - A consequence of the linear, time- invariance property is that an LTI discrete- time system is completely characterized by its impulse response • Knowing the impulse response one can compute the output of the system for any arbitrary input
  • 36. 36 Copyright © 2001, S. K. Mitra Time-Domain Characterization Time-Domain Characterization of LTI Discrete-Time System of LTI Discrete-Time System • Let h[n] denote the impulse response of a LTI discrete-time system • We compute its output y[n] for the input: • As the system is linear, we can compute its outputs for each member of the input separately and add the individual outputs to determine y[n] ] 5 [ 75 . 0 ] 2 [ ] 1 [ 5 . 1 ] 2 [ 5 . 0 ] [ − δ + − δ − − δ + + δ = n n n n n x
  • 37. 37 Copyright © 2001, S. K. Mitra Time-Domain Characterization Time-Domain Characterization of LTI Discrete-Time System of LTI Discrete-Time System • Since the system is time-invariant input output ] 2 [ ] 2 [ + → + δ n h n ] 1 [ ] 1 [ − → − δ n h n ] 2 [ ] 2 [ − → − δ n h n ] 5 [ ] 5 [ − → − δ n h n
  • 38. 38 Copyright © 2001, S. K. Mitra Time-Domain Characterization Time-Domain Characterization of LTI Discrete-Time System of LTI Discrete-Time System • Likewise, as the system is linear • Hence because of the linearity property we get ] 5 [ 75 . 0 ] 5 [ 75 . 0 − → − δ n h n input output ] 2 [ 5 . 0 ] 2 [ 5 . 0 + → + δ n h n ] 2 [ ] 2 [ − − → − δ − n h n ] 1 [ 5 . 1 ] 1 [ 5 . 1 − → − δ n h n ] [ . ] [ . ] [ 1 5 1 2 5 0 − + + = n h n h n y ] [ . ] [ 5 75 0 2 − + − − n h n h
  • 39. 39 Copyright © 2001, S. K. Mitra Time-Domain Characterization Time-Domain Characterization of LTI Discrete-Time System of LTI Discrete-Time System • Now, any arbitrary input sequence x[n] can be expressed as a linear combination of delayed and advanced unit sample sequences in the form • The response of the LTI system to an input will be ∑ − δ = ∞ −∞ = k k n k x n x ] [ ] [ ] [ ] [ ] [ k n k x − δ ] [ ] [ k n h k x −
  • 40. 40 Copyright © 2001, S. K. Mitra Time-Domain Characterization Time-Domain Characterization of LTI Discrete-Time System of LTI Discrete-Time System • Hence, the response y[n] to an input will be which can be alternately written as ∑ − δ = ∞ −∞ = k k n k x n x ] [ ] [ ] [ ∑ − = ∞ −∞ = k k n h k x n y ] [ ] [ ] [ ∑ ∞ −∞ = − = k k h k n x n y ] [ ] [ ] [
  • 41. 41 Copyright © 2001, S. K. Mitra Convolution Sum Convolution Sum • The summation is called the convolution sum of the sequences x[n] and h[n] and represented compactly as ∑ ∑ ∞ −∞ = ∞ −∞ = − = − = k k n h k n x k n h k x n y ] [ ] [ ] [ ] [ ] [ y[n] = x[n] h[n] *
  • 42. 42 Copyright © 2001, S. K. Mitra Convolution Sum Convolution Sum • Properties - • Commutative property: • Associative property : • Distributive property : x[n] h[n] = h[n] x[n] * * (x[n] h[n]) y[n] = x[n] (h[n] y[n]) * * * * x[n] (h[n] + y[n]) = x[n] h[n] + x[n] y[n] * * *
  • 43. 43 Copyright © 2001, S. K. Mitra Convolution Sum Convolution Sum • Interpretation - • 1) Time-reverse h[k] to form • 2) Shift to the right by n sampling periods if n > 0 or shift to the left by n sampling periods if n < 0 to form • 3) Form the product • 4) Sum all samples of v[k] to develop the n-th sample of y[n] of the convolution sum ] [ k h − ] [ k h − ] [ k n h − ] [ ] [ ] [ k n h k x k v − =
  • 44. 44 Copyright © 2001, S. K. Mitra Convolution Sum Convolution Sum • Schematic Representation - • The computation of an output sample using the convolution sum is simply a sum of products • Involves fairly simple operations such as additions, multiplications, and delays × n z ] [ k n h − ] [ k h − ] [k x ] [k v ] [n y ∑ k
  • 45. 45 Copyright © 2001, S. K. Mitra Convolution Sum Convolution Sum • We illustrate the convolution operation for the following two sequences: • Figures on the next several slides the steps involved in the computation of y[n] = x[n] h[n] *    ≤ ≤ = otherwise , 0 5 0 , 1 ] [ n n x    ≤ ≤ − = otherwise , 0 5 0 , 3 . 0 8 . 1 ] [ n n n h
  • 46. 46 Copyright © 2001, S. K. Mitra Convolution Sum Convolution Sum -10 0 10 -0.5 0 0.5 1 1.5 2 Amplitude Plot of x[-4- k] and h[k] -10 0 10 0 1 2 3 Amplitude h[k]x[-4- k] -10 0 10 0 2 4 6 8 n Amplitude y[-4] -10 0 10 0 2 4 6 8 n Amplitude y[n] → k → k
  • 47. 47 Copyright © 2001, S. K. Mitra Convolution Sum Convolution Sum -10 0 10 -0.5 0 0.5 1 1.5 2 Amplitude Plot of x[-1- k] and h[k] -10 0 10 0 1 2 3 Amplitude h[k]x[-1- k] -10 0 10 0 2 4 6 8 n Amplitude y[-1] -10 0 10 0 2 4 6 8 n Amplitude y[n] → k → k
  • 48. 48 Copyright © 2001, S. K. Mitra Convolution Sum Convolution Sum -10 0 10 -0.5 0 0.5 1 1.5 2 Amplitude Plot of x[0- k] and h[k] -10 0 10 0 1 2 3 Amplitude h[k]x[0- k] -10 0 10 0 2 4 6 8 n Amplitude y[0] -10 0 10 0 2 4 6 8 n Amplitude y[n] → k → k
  • 49. 49 Copyright © 2001, S. K. Mitra Convolution Sum Convolution Sum -10 0 10 -0.5 0 0.5 1 1.5 2 Amplitude Plot of x[1- k] and h[k] -10 0 10 0 1 2 3 Amplitude h[k]x[1- k] -10 0 10 0 2 4 6 8 n Amplitude y[1] -10 0 10 0 2 4 6 8 n Amplitude y[n] → k → k
  • 50. 50 Copyright © 2001, S. K. Mitra Convolution Sum Convolution Sum -10 0 10 -0.5 0 0.5 1 1.5 2 Amplitude Plot of x[3- k] and h[k] -10 0 10 0 1 2 3 Amplitude h[k]x[3- k] -10 0 10 0 2 4 6 8 n Amplitude y[3] -10 0 10 0 2 4 6 8 n Amplitude y[n] → k → k
  • 51. 51 Copyright © 2001, S. K. Mitra Convolution Sum Convolution Sum -10 0 10 -0.5 0 0.5 1 1.5 2 Amplitude Plot of x[5- k] and h[k] -10 0 10 0 1 2 3 Amplitude h[k]x[5- k] -10 0 10 0 2 4 6 8 n Amplitude y[5] -10 0 10 0 2 4 6 8 n Amplitude y[n] → k → k
  • 52. 52 Copyright © 2001, S. K. Mitra Convolution Sum Convolution Sum -10 0 10 -0.5 0 0.5 1 1.5 2 Amplitude Plot of x[7- k] and h[k] -10 0 10 0 1 2 3 Amplitude h[k]x[7- k] -10 0 10 0 2 4 6 8 n Amplitude y[7] -10 0 10 0 2 4 6 8 n Amplitude y[n] → k → k
  • 53. 53 Copyright © 2001, S. K. Mitra Convolution Sum Convolution Sum -10 0 10 -0.5 0 0.5 1 1.5 2 Amplitude Plot of x[9- k] and h[k] -10 0 10 0 1 2 3 Amplitude h[k]x[9- k] -10 0 10 0 2 4 6 8 n Amplitude y[9] -10 0 10 0 2 4 6 8 n Amplitude y[n] → k → k
  • 54. 54 Copyright © 2001, S. K. Mitra Convolution Sum Convolution Sum -10 0 10 -0.5 0 0.5 1 1.5 2 Amplitude Plot of x[10- k] and h[k] -10 0 10 0 1 2 3 Amplitude h[k]x[10- k] -10 0 10 0 2 4 6 8 n Amplitude y[10] -10 0 10 0 2 4 6 8 n Amplitude y[n] → k → k
  • 55. 55 Copyright © 2001, S. K. Mitra Convolution Sum Convolution Sum -10 0 10 -0.5 0 0.5 1 1.5 2 Amplitude Plot of x[12- k] and h[k] -10 0 10 0 1 2 3 Amplitude h[k]x[12- k] -10 0 10 0 2 4 6 8 n Amplitude y[12] -10 0 10 0 2 4 6 8 n Amplitude y[n] → k → k
  • 56. 56 Copyright © 2001, S. K. Mitra Convolution Sum Convolution Sum -10 0 10 -0.5 0 0.5 1 1.5 2 Amplitude Plot of x[13- k] and h[k] -10 0 10 0 1 2 3 Amplitude h[k]x[13- k] -10 0 10 0 2 4 6 8 n Amplitude y[13] -10 0 10 0 2 4 6 8 n Amplitude y[n] → k → k
  • 57. 57 Copyright © 2001, S. K. Mitra Time-Domain Characterization Time-Domain Characterization of LTI Discrete-Time System of LTI Discrete-Time System • In practice, if either the input or the impulse response is of finite length, the convolution sum can be used to compute the output sample as it involves a finite sum of products • If both the input sequence and the impulse response sequence are of finite length, the output sequence is also of finite length
  • 58. 58 Copyright © 2001, S. K. Mitra Time-Domain Characterization Time-Domain Characterization of LTI Discrete-Time System of LTI Discrete-Time System • If both the input sequence and the impulse response sequence are of infinite length, convolution sum cannot be used to compute the output • For systems characterized by an infinite impulse response sequence, an alternate time-domain description involving a finite sum of products will be considered
  • 59. 59 Copyright © 2001, S. K. Mitra Time-Domain Characterization Time-Domain Characterization of LTI Discrete-Time System of LTI Discrete-Time System • Example - Develop the sequence y[n] generated by the convolution of the sequences x[n] and h[n] shown below 0 1 2 3 1 2 –1 n 0 1 2 3 4 –2 1 3 –1 n x[n] h[n]
  • 60. 60 Copyright © 2001, S. K. Mitra Time-Domain Characterization Time-Domain Characterization of LTI Discrete-Time System of LTI Discrete-Time System • As can be seen from the shifted time- reversed version for n < 0, shown below for , for any value of the sample index k, the k-th sample of either {x[k]} or is zero 3 − = n ]} [ { k n h − ]} [ { k n h − 1 2 –3 –2 –1 0 –4 –5 –6 –1 ] 3 [ k h − − k
  • 61. 61 Copyright © 2001, S. K. Mitra Time-Domain Characterization Time-Domain Characterization of LTI Discrete-Time System of LTI Discrete-Time System • As a result, for n < 0, the product of the k-th samples of {x[k]} and is always zero, and hence y[n] = 0 for n < 0 • Consider now the computation of y[0] • The sequence is shown on the right ]} [ { k n h − ]} [ { k h − 1 2 –3 –2 –1 0 –4 –5 –6 1 2 3 –1 k ] [ k h −
  • 62. 62 Copyright © 2001, S. K. Mitra Time-Domain Characterization Time-Domain Characterization of LTI Discrete-Time System of LTI Discrete-Time System • The product sequence is plotted below which has a single nonzero sample for k = 0 • Thus ]} [ ] [ { k h k x − x[0]h[0] 2 0 0 0 − = = ] [ ] [ ] [ h x y 0 1 2 3 –3 –2 –1 –4 –5 –2 k ] [ ] [ k h k x −
  • 63. 63 Copyright © 2001, S. K. Mitra Time-Domain Characterization Time-Domain Characterization of LTI Discrete-Time System of LTI Discrete-Time System • For the computation of y[1], we shift to the right by one sample period to form as shown below on the left • The product sequence is shown below on the right • Hence, 4 0 4 0 1 1 0 1 − = + − = + = ] [ ] [ ] [ ] [ ] [ h x h x y ]} [ ] [ { k h k x − 1 ]} [ { k h − ]} [ { k h − 1 1 2 0 1 2 3 –1 –1 –2 –3 –4 –5 0 –3 –2 –1 –4 –5 1 2 3 –4 k k ] 1 [ k h − ] 1 [ ] [ k h k x −
  • 64. 64 Copyright © 2001, S. K. Mitra Time-Domain Characterization Time-Domain Characterization of LTI Discrete-Time System of LTI Discrete-Time System • To calculate y[2], we form as shown below on the left • The product sequence is plotted below on the right 1 1 0 0 0 2 1 1 2 0 2 = + + = + + = ] [ ] [ ] [ ] [ ] [ ] [ ] [ h x h x h x y ]} [ { k h − 2 ]} [ ] [ { k h k x − 2 0 –3 –2 –1 1 2 3 4 5 6 1 k 1 2 0 1 2 3 –1 –1 –2 –3 –4 4 5 k ] 2 [ k h − ] 2 [ ] [ k h k x −
  • 65. 65 Copyright © 2001, S. K. Mitra Time-Domain Characterization Time-Domain Characterization of LTI Discrete-Time System of LTI Discrete-Time System • Continuing the process we get ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ 0 3 1 2 2 1 3 0 3 h x h x h x h x y + + + = ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ 0 4 1 3 2 2 3 1 4 h x h x h x h x y + + + = ] [ ] [ ] [ ] [ ] [ ] [ ] [ 1 4 2 3 3 2 5 h x h x h x y + + = 1 0 1 2 4 3 3 6 = + = + = ] [ ] [ ] [ ] [ ] [ h x h x y 3 3 4 7 − = = ] [ ] [ ] [ h x y 3 1 0 0 2 = + + + = 1 3 2 0 0 = + − + = 5 6 0 1 = + + − =
  • 66. 66 Copyright © 2001, S. K. Mitra Time-Domain Characterization Time-Domain Characterization of LTI Discrete-Time System of LTI Discrete-Time System • From the plot of for n > 7 and the plot of {x[k]} as shown below, it can be seen that there is no overlap between these two sequences • As a result y[n] = 0 for n > 7 ]} [ { k n h − 1 2 –1 5 6 7 8 9 10 11 2 3 4 ] 8 [ k h − k 0 1 2 3 4 –2 1 3 –1 k x[k]
  • 67. 67 Copyright © 2001, S. K. Mitra Time-Domain Characterization Time-Domain Characterization of LTI Discrete-Time System of LTI Discrete-Time System • The sequence {y[n]} generated by the convolution sum is shown below –2 –4 1 1 1 3 5 –3 2 3 4 5 6 0 1 –2 –1 7 8 9 n y[n]
  • 68. 68 Copyright © 2001, S. K. Mitra Time-Domain Characterization Time-Domain Characterization of LTI Discrete-Time System of LTI Discrete-Time System • Note: The sum of indices of each sample product inside the convolution sum is equal to the index of the sample being generated by the convolution operation • For example, the computation of y[3] in the previous example involves the products x[0]h[3], x[1]h[2], x[2]h[1], and x[3]h[0] • The sum of indices in each of these products is equal to 3
  • 69. 69 Copyright © 2001, S. K. Mitra Time-Domain Characterization Time-Domain Characterization of LTI Discrete-Time System of LTI Discrete-Time System • In the example considered the convolution of a sequence {x[n]} of length 5 with a sequence {h[n]} of length 4 resulted in a sequence {y[n]} of length 8 • In general, if the lengths of the two sequences being convolved are M and N, then the sequence generated by the convolution is of length 1 − + N M
  • 70. 70 Copyright © 2001, S. K. Mitra Convolution Using MATLAB Convolution Using MATLAB • The M-file conv implements the convolution sum of two finite-length sequences • If then conv(a,b) yields ] 3 1 1 0 2 [ a − − = ] 1 - 0 2 1 [ b = ] 3 1 5 1 3 1 4 2 [ − − −
  • 71. 71 Copyright © 2001, S. K. Mitra Simple Interconnection Simple Interconnection Schemes Schemes • Two simple interconnection schemes are: • Cascade Connection • Parallel Connection
  • 72. 72 Copyright © 2001, S. K. Mitra Cascade Connection Cascade Connection • Impulse response h[n] of the cascade of two LTI discrete-time systems with impulse responses and is given by ] [n h1 ] [n h2 ] [n h1 ] [n h2 ≡ ] [ ] [ n h n h 1 = ] [n h2 ] [n h1 * ≡ ] [n h1 ] [n h2 ] [n h2 ] [ ] [ n h n h 1 = *
  • 73. 73 Copyright © 2001, S. K. Mitra Cascade Connection Cascade Connection • Note: The ordering of the systems in the cascade has no effect on the overall impulse response because of the commutative property of convolution • A cascade connection of two stable systems is stable • A cascade connection of two passive (lossless) systems is passive (lossless)
  • 74. 74 Copyright © 2001, S. K. Mitra Cascade Connection Cascade Connection • An application is in the development of an inverse system • If the cascade connection satisfies the relation then the LTI system is said to be the inverse of and vice-versa ] [n h1 ] [n h2 ] [n h2 ] [ 1 n h ] [n δ = *
  • 75. 75 Copyright © 2001, S. K. Mitra Cascade Connection Cascade Connection • An application of the inverse system concept is in the recovery of a signal x[n] from its distorted version appearing at the output of a transmission channel • If the impulse response of the channel is known, then x[n] can be recovered by designing an inverse system of the channel ] [ ˆ n x ] [n h2 ] [n h1 ] [n x ] [n x channel inverse system ] [n x ^ ] [n h2 ] [n h1 ] [n δ = *
  • 76. 76 Copyright © 2001, S. K. Mitra Cascade Connection Cascade Connection • Example - Consider the discrete-time accumulator with an impulse response µ[n] • Its inverse system satisfy the condition • It follows from the above that for n < 0 and for 0 2 = ] [n h 1 ] 0 [ 2 = h 0 0 2 = ∑ = n h l l] [ 1 ≥ n ] [n h2 ] [n µ ] [n δ = *
  • 77. 77 Copyright © 2001, S. K. Mitra Cascade Connection Cascade Connection • Thus the impulse response of the inverse system of the discrete-time accumulator is given by which is called a backward difference system ] 1 [ ] [ ] [ 2 − δ − δ = n n n h
  • 78. 78 Copyright © 2001, S. K. Mitra Parallel Connection • Impulse response h[n] of the parallel connection of two LTI discrete-time systems with impulse responses and is given by ] [n h2 ] [n h1 + ] [ ] [ n h n h 1 = ] [n h2 ] [n h1 ≡ + ] [n h1 ] [n h2 ] [ ] [ ] [ n h n h n h 2 1 + =
  • 79. 79 Copyright © 2001, S. K. Mitra Simple Interconnection Schemes Simple Interconnection Schemes • Consider the discrete-time system where ] [n h2 ] [n h1 + + ] [n h4 ] [n h3 ], 1 [ 5 . 0 ] [ ] [ 1 − δ + δ = n n n h ], 1 [ 25 . 0 ] [ 5 . 0 ] [ 2 − δ − δ = n n n h ], [ 2 ] [ 3 n n h δ = ] [ ) 5 . 0 ( 2 ] [ 4 n n h n µ − =
  • 80. 80 Copyright © 2001, S. K. Mitra Simple Interconnection Schemes Simple Interconnection Schemes • Simplifying the block-diagram we obtain ] [n h2 ] [n h1 + ] [ ] [ 4 3 n h n h + ] [n h1 + ]) [ ] [ ( ] [ 4 3 2 n h n h n h + * ≡
  • 81. 81 Copyright © 2001, S. K. Mitra Simple Interconnection Schemes Simple Interconnection Schemes • Overall impulse response h[n] is given by • Now, ] [ ] [ ] [ ] [ ] [ n h n h n h n h n h 4 2 3 2 1 + + = ]) [ ] [ ( ] [ ] [ ] [ n h n h n h n h n h 4 3 2 1 + + = * * * ] [ 2 ]) 1 [ ] [ ( ] [ ] [ 4 1 2 1 3 2 n n n n h n h δ − δ − δ = ] 1 [ ] [ 2 1 − δ − δ = n n * *
  • 82. 82 Copyright © 2001, S. K. Mitra Simple Interconnection Schemes Simple Interconnection Schemes • Therefore ] 1 [ ) ( ] [ ) ( 1 2 1 2 1 2 1 − µ + µ − = − n n n n ] 1 [ ) ( ] [ ) ( 2 1 2 1 − µ + µ − = n n n n ] [ ] [ ) (2 1 n n n δ − = δ − = ] [ ] [ ] 1 [ ] [ ] 1 [ ] [ ] [ 2 1 2 1 n n n n n n n h δ = δ − − δ − δ + − δ + δ = ( ) ] [ ) ( 2 ]) 1 [ ] [ ( ] [ ] [ 2 1 4 1 2 1 4 2 n n n n h n h nµ − − δ − δ = * *