Slide-2.2 Discrete Time Linear Time Invariant (LTI) System-2
Slide-2.2 Discrete Time Linear Time Invariant (LTI) System-2
…(2)
only linearity is
If
imposed then
depend both n and k
Define convolution sum?
Property of time invariance implies that if h[n] is the response
to then the response to is h. With this addition constraint we
can rewrite that.
Second, we observe that the sequences x(k) and h(no - k) are multiplied together to form a
product sequence. The output y(na) is simply the sum over all values of the product
sequence.
The sequence h(no - k) is obtained from h(k) by, first, folding h(k) about k = 0 (the time
origin), which results in the sequence h(- k). The folded sequence is then shifted by no to
yieid h(no - k ) .
To summarize, the process of computing the convolution between x ( k ) and h(k) involves
the following four steps.
Mathematical approach
Tabular approach
Graphical approach
Mathmatical Aproach
Let length of sequence x(n) is N1,
lower limit of x(n) is n1,upper limit of x(n) is n2.
And this n will vary from n1+p1 to n2+p2
n1+p1 n2+p2
Mathmatical Aproach
Try to understand upper limit and lower limit
the input sequence x(n)={3^,1,2,-1} sequence is applied to
discrete time processor with unit sample response
h(n)={3^,2,1} x(n)={3^,1,2,-1}
Length of n=4+3-1 =6
Lower limit of n= 0+0=0 ,
n=0,
=x(0)h(0) + x(1)h(-1) + x(2)h(-2) + x(3)h(-3)
=3.3+1.0+2.0+(-1).0 =9
n=1,
=x(0)h(1) + x(1)h(0) + x(2)h(-1) + x(3)h(-2)
=3.2+1.3+2.0+(-1).0 =9
the input sequence x(n)={3^,1,2,-1} sequence is applied to
discrete time processor with unit sample response
h(n)={3^,2,1}
n=2,
=11
n=3,
=2
the input sequence x(n)={3^,1,2,-1} sequence is applied to
discrete time processor with unit sample response
h(n)={3^,2,1}
n=4,
=0
n=5,
= -1
=0
n=5,
= -1
Solution
Solution
Solution
22
Tabular Digital Convolution
Example-3: Using the sequences defined in the following figure,
evaluate the digital convolution by the tabular method.
Tabular Digital Convolution
Tabular Digital Convolution
Tabular Digital Convolution
Tabular Digital Convolution
Tabular Digital Convolution
Tabular Digital Convolution
Exercise-2: Find the convolution of the two sequences x[n] and h[n] given by,
Tabular Digital Convolution
Exercise-3: determine the output for the first three samples of ℎ[n] using the
tabular method. Where x[n] = u[n] and h[n] = (0.25)nu[n]
Solution
Graphical Digital Convolution
33
Graphical Digital Convolution
Example-5: Using the sequences defined in Figure, evaluate the digital convolution.
X=[3 1 2 ] h=[ 3 2 1]
34
Graphical Digital Convolution
35
Graphical Digital Convolution
36
Graphical Digital Convolution
Example-6:
Input Signal
x[n] = [2, 1, 2]
Impulse Response
h[n] = [1, 2, -1]
Output Signal
Y[n] = [2, 5, -2, -5, 2]
38
Convolution by Formula Method
Example-7: Using the sequences defined in Figure, evaluate the digital convolution.
39
Properties of Convolution
40
Graphical Approach
Graphical Approach
57
properties of convolution sum?
Commutative :-
= h(n)*x(n)
Hence it is cumulative.
properties of convolution sum?
Distributive with respect to addition :-
The convolution operation is distributive with respect to addition ,
x(n)
proof:
from the definition of convolution
x(n)
Thus , The convolution operation is distributive with respect to addition.
properties of convolution sum?
Associative :-
The convolution operation is associative,
Proof :
Since convolution is commutative
y(n-k)*h(n-k)= h(n-k)*y(n-k)
hence ,
properties of convolution sum?
hence ,
=>h(n)*[x(n)*y(n)] =[x(n)*y(n)]*h(n)
Thus convolution is associative
Types of LTI System ?
Casual anti-causal
The output of a causal system depends at most on current or past inputs like
x(n),x(n-1),x(n-2)……..
But never on future inputs.
The output of a LTI system is given by convolution of x(n) and h(n) [unit
sample response ],
y(n)=x(n)*h(n)
+
Types of LTI System ?
1.Casual anti-causal
2.Stable Unstable
3.Static Dynamic
4.FIR IIR
5.Recursive non Recursive
Types of LTI System ?
Casual anti-causal
Here n+2 , n+2 …are the future inputs so for the causality properties h(-1) =
h(-2) =…….=0
Means h(n) =0 ,when n< 0
Hence for LTI system causality condition is given by
output of a causal discrete LTI system
Stable unstable
For a bounded set input is a system generates a bounded output then it is
called stable system and unstable otherwise
Output of LTI system is given by,
y(n)=x(n)*h(n)
If the input sequence is bounded then the necessity condition for stability is
Types of LTI System ?
Static dynamic
If the output of any system only depends on the current inputs and no storage
is needed then the system is called static and dynamic otherwise.
is a static system.
FIR and IIR
Depending on the impulse response sequence the system is divided into two
classes ,if the impulse response sequence is of finite duration then the system
is called FIR,If h(n) is non-zero for n=0 to n- N-1, then the equation for FIR
system is given by
if the impulse response sequence is of infinite duration then the system is
called IIR,
If h(n) is non-zero for n>0 , then the equation for IIR system is given by
Types of LTI System ?
Types of LTI System ?
Recursive non recursive
There are some system which not only requires the past and current inputs to
generate desired output, but also it needs the already available past outputs .
Consider a system tries to calculate cumulative average of x(n) in the interval
Defined as ,
To compute this the system needs to store all the input samples, and with the
increase of n the storage requirement increases in time.
This could be simplified as storing some past outputs like y(n-1)
Types of LTI System ?
Recursive non recursive
In general , a system who’s output y(n) at time n depends on any number of
past output values y(n-1), y(n-2),…………is called a recursive system
,
y(n)
Now
Types of LTI System ?
Now
Consider,
y(n)= -x(n)
y(0)= -x(0)
y(1)= -x(1)
= -x(0) } + x(1)
= (- y(-1) + (-x(0) +x(1)
Y(2) = (- y(-1)+ (-x(0) +(-x(1) + x(2)
Correlation
Correlation addresses the question: “to what
degree is signal A similar to signal B.”
An intuitive answer can be developed by
comparing deterministic signals with
stochastic signals.
Deterministic = a predictable signal equivalent to
that produced by a mathematical function
Stochastic = an unpredictable signal equivalent to
that produced by a random process
Correlation
76
Correlation
There are applications where it is necessary to compare one
reference signal with one or more signals to determine the similarity
between the pair and to determine additional information based on
the similarity.
78
Cross Correlation
N = M1 + M2 – 1
Where
M1 is the number of samples in sequence x1[x]
M2 is the number of samples in sequence x2[x]
79
Cross Correlation
Example-8: Find the correlation b/w the two sequences x[n] and y[n] given by,
80
Cross Correlation
Example-9: Find the correlation b/w the two sequences x[n] and y[n] given by,
81
Cross Correlation
82
Cross Correlation
Example-10: Find the correlation of the two sequences x[n] and
y[n] represented by,
Solution
83
Cross Correlation
Example-11: Find the correlation of the two sequences x[n] and
y[n] represented by,
Solution
Yxy[n] = [3, 5, 6, 6, 3, 1]
84
Cross Correlation
Excersize-1: Find the correlation of the two sequences x[n] and y[n] represented by,
Excersize-2: Find the correlation of the two sequences x[n] and y[n] represented by,
85
Correlation Between Signals X and Y
86
Correlation Between Signals X and Z
87
Autocorrelation
rxx l x n x n l rxx l l 0, 1, 2,
n
Auto Correlation
89
Auto Correlation
90
Auto Correlation
N = 2×M – 1
Where,
M is the number of samples in the sequence x[n]
91
Auto Correlation
Example: Find the auto correlation of the following sequence
x[n] = [1, 2, 3, 4]
Solution
92
Auto Correlation
Example: Find the auto correlation of the following sequence
x[n] = [1, 2, 3, 4]
Solution
93
Thanks for your
attention