Professional Documents
Culture Documents
Lecture 2 - DTS
Lecture 2 - DTS
Lecture 2 - DTS
2
DTS: Time-Domain Representation
• Signals are represented as sequences of
numbers, called samples.
4
DTS: Time-Domain Representation-
Cont’d
• Block-diagram representation of the
sampling process
xa (t )
. . x[ n] = xa (t ) t = nT = xa ( nT )
n = , − 2, − 1,0,1,
5
Basic Sequences
◼ Unit sample sequence: 1, n = 0
[ n] =
0, n 0
1, n 0
◼ Unit step sequence: u[n] =
0, n 0
6
General Sequences
An arbitrary sequence can be represented in the
time-domain as a weighted sum of some basic
sequence and its delayed (advanced) versions
Discrete-time
x[n] y[n]
system
Input sequence Output sequence
8
Linear Discrete-Time Systems
◼ Definition - If y1[n] is the output due to an
input x1[ n] , and y2 [ n] is the output due to
an input x2 [ n] then, for an input:
x[n] = x1[n] + x2 [n]
the output is given by
y[n] = y1[n] + y2 [n]
◼ Above property must hold for any arbitrary
constants and , and for all possible
inputs x1[n] and x2 [ n] .
9
Linear Discrete-Time Systems-Cont’d
Example: the Accumulator:
Suppose input x1(n) produces output y1(n)
and x2(n) produces y2(n), where:
n n
y1[n] = x1[], y2 [n] = x2 []
= − = −
For an input:
x[n] = x1[n] + x2 [n]
n
the output is y[n] = ( x1[] + x2 [])
n n = −
y[ n] = x1[] + x2 [] = y1[ n] + y2 [ n]
= − = −
12
Finite-Dimensional, Discrete-Time Linear,
Time Invariant (LTI) Systems
An important subclass of discrete-time, linear,
time- invariant (LTI) systems is characterised by a
linear constant-coefficient difference equation of
the form:
N M
d k y[n − k ] = pk x[n − k ] (d 0 0)
k =0 k =0
x[n] and y[n] are, respectively, the input and the
output of the system, while {d k } and{ pk } are
constants characterising the system.
13
Finite-Dimensional, Discrete-Time Linear,
Time Invariant (LTI) Systems-Cont’d
◼ The order of the system is given by max(N,M), which
is the order of the difference equation.
◼ The normalised form:
N M
y[n] + ak y[n − k ] = bk x[n − k ]
k =1 k =0
where ak = d k d 0 and bk = pk d 0
N M
or, equivalently, y[n] = − ak y[n − k ] + bk x[n − k ]
k =1 k =0
Command: [h,T]=impz(p,d);
Output vectors:
h: impulse response;
T: a vector of time (or sample intervals) (T = [0 1 2 ...]').
18
Impulse Response- MATLAB Calculation
Cont’d
Example:
y[n] + y[n − 1] + 0.16 y[n − 2] = 3 x[n] + 1.2 x[n − 1];
MATLAB source code:
2.5
1.5
1
h(n)
0.5
-0.5
-1
-1.5
-2
0 5 10 15 20 25 30 35 40 45
n
20
A System Model
21
Convolution in Time
If we clear the memory again and input the sequence x[0], x[1],
x[2], etc then, when x[n] appears at the input, the state of the
system will be as in the diagram and the output will be
h[n] = 0; n 0
24
Normalised Digital Frequency
◼ In digital signal processing systems, a normalised
digital frequency is used in the analysis and design
rather than actual frequency (in Hz or rad/s).
26
Summary-Cont’d
• The response of such a system to δ[n] is the
impulse response h[n].
h[n] = 0; n 0
27
Today’s Lecture Rating
28