Outline
Discrete-Time Signals
Discrete-Time Systems
Analysis of Discrete-Time LTI Systems
Discrete-Time Systems Described by Difference Equations
Correlation of Discrete-Time Signals
Dr. Xinrong Li
Discrete-Time Signals
Discrete-time signal x(n) is a function of an integer
independent variable.
The signal x(n) is not defined for non-integer values of n.
for n 1, 3
-2 -1 0 1 2 3 4 5
x(n)
0 1 4 1 0 0
Sequence representation:
Dr. Xinrong Li
1, for n 0
u ( n)
0, for n 0
n,
0,
u r ( n)
0,
for n 0
for n 0
for n 0
| x(n) | A(n) r n
x( n) (n) n
Dr. Xinrong Li
2
|
x
(
n
)
|
M average power P is
Signal x(n) is called power signal
1 if its
2
P lim
|
x
(
n
)
|
EM
5
Dr. Xinrong Li
E lim EM
2
|
x
(
n
)
|
n M
1
EM
M 2M 1
P lim
Dr. Xinrong Li
Dr. Xinrong Li
z ( n) x ( n)
y ( n ) z ( n 2)
x( (n 2))
x( n 2)
Dr. Xinrong Li
Dr. Xinrong Li
10
Dr. Xinrong Li
Discrete-Time Systems
Discrete-time system is a device or algorithm that operates
y(n) = T [x(n)],
or
x ( n) y ( n )
Focus of Class 2:
Focus on time-domain characterization of systems.
Focus on the behavior at the terminals of the system, i.e., the input-
Dr. Xinrong Li
n 1
x ( k ) x ( k ) x ( n)
y (n 1) x(n)
The initial condition y(n0 - 1) together with the input x(n) for n n0
12
Dr. Xinrong Li
y ( n) a x ( n )
y ( n) x1 (n) x2 (n)
x2 ( n )
Dr. Xinrong Li
y (n) x (n 1)
-1
y (n) x(n 1)
EENG 5610, UNT
An example:
14
Dr. Xinrong Li
at most on the input sample at the same time instant, but not on past
or future input samples.
Non-static system is dynamic system (or system with memory).
A dynamic system has memory duration N, if the systems output at time
y(n) = T [x(n)] implies y(n - k) = T [x(n - k)] for every time shift k.
Non-time-invariant system is time-variant system.
15
Dr. Xinrong Li
16
Dr. Xinrong Li
T 1T
x(n)
y1 (n)
1
y (n)
T
c
x(n)
Dr. Xinrong Li
+
T
17
T
p
= T 2+ T
y3 ( n )
y 2 ( n)
EENG 5610, UNT
of the system :
k 1
k 0
y (n) ak y (n k ) bk x(n k )
Technique 2
First decompose the input signal into a sum of elementary signals;
y (n) T [ x(n)] T
ck xk ( n )
k
ck T [ xk (n)]
18
Dr. Xinrong Li
ck y k ( n )
k
Decomposition/Resolution of Discrete-Time
Signals into Weighted Sum of Impulses
Delayed unit sample sequences are selected as the
x(k ) (n k )
19
Dr. Xinrong Li
x(k ) (n k )
Dr. Xinrong Li
output at time n.
5. Repeat steps 2 through 4 for all possible time shifts n.
Convolution is commutative:
y ( n) x ( n) * h ( n)
h( n) * x ( n)
x( k )h(n k )
h( k ) x (n k )
21
Dr. Xinrong Li
22
Dr. Xinrong Li
Properties of Convolution
Identity and Shifting Property:
23
Dr. Xinrong Li
Distributive Law:
We can easily extend the associative and distributive laws to more than
24
Dr. Xinrong Li
y ( n0 )
k 0
If the LTI system is causal, then h(n) = 0, for n < 0, because h(n) is the
k 0
k 0
k 0
25
Proof:
if | x(n) | M x , then
| y (n) |
h ( k ) x ( n k ) | h( k ) | | x ( n k ) | M x | h ( k ) |
x(n) is set to zero beyond a point of time, n > n0; that is, when the system
is stable,
any input of finite duration produces anEENG
output
that
decays with
Dr. Xinrong
Li
5610,
UNT
time and dies out eventually.
We will learn more about FIR and IIR systems a little later.
27
Dr. Xinrong Li
an example:
1 n
y ( n)
x(k )
n 1 k 0
n
1
y ( n 1)
x ( n)
n 1
n 1
The term y(n0 - 1) is called the initial condition for this system and it
5610,
on the present and past inputs, x(n - k), 0 EENG
k
M.UNT
Dr. Xinrong Li
29
Dr. Xinrong Li
k 1
k 0
k 0
k 0
ak y (n k ) bk x(n k ),
or, equivalent ly
a0 1
30
Dr. Xinrong Li
degree to which the two signals similar and thus to extract some
useful information.
Dr. Xinrong Li
or equivalent ly : rxy (l )
x(n l ) y (n),
l 0, 1, ...
i.e., rxy(l) = ryx(-l). Hence, rxy(l) and ryx(l) provide exactly same
information with respect to the similarity of x(n) to y(n).
Except for folding operation, the computation of the crosscorrelation sequence involves the same operations as the N |k |1
rxy (l ) x(n) y (n l )
convolution: rxy(l) = x(l)*y(-l)
n l
If x(n) and y(n) are causal sequences of length N,
Autocorrelation:
N |k |1
rxxthe
(l ) same
(n) x(n rl ) (l)
xsignal:
Autocorrelation is the correlation between
xx
32
Dr. Xinrong Li
If x(n)
(i lis
, kacausal
0 for sequence
l 0; i 0of
,k
l for N,
l 0)
length
n i
rxx (0)
rxx (0)ryy (0)
| xx (l ) | 1
The normalized auto- and cross-correlation sequences are
Dr. Xinrong Li
M 2 M 1
n M
Cross-correlation sequence
1 N 1 of two periodic signals, each
with period N:
rxy (l )
x ( n) y ( n l )
n 0
34
periodic
35
Dr. Xinrong Li
h( k ) x ( n k )
(commutativ e law )
rhh (l ) * rxx (l )
The autocorrelation rhh(l) exists if the system is stable.
Stable system does not change the type (energy or power) of the
36
input Lisignal
Dr. Xinrong
x(n).