Discrete Time Signal and Systems
Discrete Time Signal and Systems
Discrete-Time
Signals and Systems
1
1. Discrete-Time Signals and Systems
2
1.1. Basic Definitions
3
1.1.1. Discrete and Digital Signals
1.1.1.1. Basic Definitions
Signals may be classified into four categories depending
on the characteristics of the time-variable and values
they can take:
4
Continuous-time (analogue) signals:
5
Discrete-time signals:
7
Discrete-valued signals:
8
Digital filter theory:
Discrete-time signals:
Definition and descriptions: defined only at discrete
values of time and they can take all possible
values on finite or infinite range (sequences of
real or complex numbers: f (n) ),
Note: sampling process, constant sampling period.
Digital signals:
Definition and descriptions: discrete-time and
discrete-valued signals (i.e. discrete -time
signals taking on values from a finite set of
possible values),
Note: sampling, quatizing and coding process i.e.
9
process of analogue-to-digital conversion.
1.1.1.2. Discrete-Time Signal Representations
A. Functional representation:
B. Graphical x ( n)
representation
n
10
C. Tabular representation:
n … -2 -1 0 1 2
x(n) … 0.12 2.01 1.78 5.23 0.12
D. Sequence representation:
11
1.1.1.3. Elementary Discrete-Time Signals
A. Unit sample sequence (unit sample, unit impulse,
unit impulse signal)
1 for n 0
( n)
0 for n 0
( n)
n
12
B. Unit step signal (unit step, Heaviside step sequence)
1 for n 0
u ( n)
0 for n 0
u ( n)
13
C. Complex-valued exponential signal
(complex sinusoidal sequence, complex phasor)
2 f .n
x ( n) e j nT
, x(n) 1, arg x(n) nT 2 f .nT
fS
where
R, n N , j 1 is imaginary unit
and
T is sampling period and f S is sampling frequency.
14
1.1.2. Discrete-Time Systems. Definition
A discrete-time system is a device or algorithm that
operates on a discrete-time signal called the input or
excitation (e.g. x(n)), according to some rule (e.g. H[.])
to produce another discrete-time signal called the output
or response (e.g. y(n)).
y ( n) H x ( n)
x ( n) discrete-time y ( n)
system
input signal H . output signal
excitation response
y ( n) H x ( n)
x(n)
H
y ( n)
16
1.1.3. Classification of Discrete-Time
Systems
1.1.3.1. Static vs. Dynamic Systems. Definition
A discrete-time system is called static or memoryless if its output
at any time instant n depends on the input sample at the same time,
but not on the past or future samples of the input. In the other case,
the system is said to be dynamic or to have memory.
If the output of a system at time n is completly determined by the
input samples in the interval from n-N to n ( N 0 ), the system is
said to have memory of duration N.
If N 0 , the system is static or memoryless.
If 0 N , the system is said to have finite memory.
If N , the system is said to have infinite memory.
17
Examples:
The static (memoryless) systems:
19
Examples:
The time-invariant systems:
20
1.1.3.3. Linear vs. Non-linear Systems. Definition
A discrete-time system is called linear if only if it satisfies the linear
superposition principle. In the other case, the system is called non-
linear.
Definition. A relaxed system H [.] is linear if only if
H a1x1 (n) a2 x2 (n) a1H x1 (n) a2 H x2 (n)
for any arbitrary input sequences x1 (n) and x2 (n) , and any
arbitrary constants a1 and a2 .
21
Examples:
The linear systems:
N
y ( n) h( k ) x ( n k ) y (n) x(n 2 ) bx(n k )
k 0
N
y (n) nx(n) bx3 (n 1) y (n) h(k ) x(n k ) x(n k 1)
k 0
22
1.1.3.4. Causal vs. Non-causal Systems. Definition
Definition. A system is said to be causal if the output of the system
at any time n (i.e., y(n)) depends only on present and past inputs
(i.e., x(n), x(n-1), x(n-2), … ). In mathematical terms, the output of a
causal system satisfies an equation of the form
23
Examples:
The causal system:
N
y ( n) h( k ) x ( n k ) y (n) x (n) bx(n k )
2
k 0
24
1.1.3.5. Stable vs. Unstable of Systems. Definitions
An arbitrary relaxed system is said to be bounded input - bounded
output (BIBO) stable if and only if every bounded input produces
the bounded output. It means, that there exist some finite numbers
say M x and M y, such that
x ( n) M x y ( n ) M y
for all n. If for some bounded input sequence x(n) , the output y(n)
is unbounded (infinite), the system is classified as unstable.
25
Examples:
The stable systems:
N
y ( n) h( k ) x ( n k ) y ( n) x ( n 2 ) 3 x ( n k )
k 0
y (n) 3n x3 (n 1)
26
1.1.3.6. Recursive vs. Non-recursive Systems.
Definitions
A system whose output y(n) at time n depends on any number of the
past outputs values ( e.g. y(n-1), y(n-2), … ), is called a recursive
system. Then, the output of a causal recursive system can be
expressed in general as
y(n) F y(n 1), y(n 2), , y(n N ), x(n), x(n 1), , x(n M )
N
y ( n) h( k ) x ( n k )
k 0
N N
y ( n) b( k ) x ( n k ) a ( k ) y ( n k )
k 0 k 1
28
1.2. Linear-Discrete Time Time-Invariant
Systems (LTI Systems)
29
1.2.1.1 Impulse Response and Convolution
( n) h(n) H (n)
LTI system
H .
unit impulse impulse response
y ( n) h( k ) x ( n k ) x ( k ) h ( n k ) h ( n ) * x ( n ) x ( n ) * h ( n )
k k
u ( n) LTI system g ( n) H u ( n)
unit step step response
H . unit-step
response
n
g ( n) h(k )u(n k ) h(k )
k k
31
1.2.2. Impulse Response Property and
Classification of LTI Systems
1.2.2.1. Causal LTI Systems
A relaxed LTI system is causal if and only if its impulse response is
zero for negative values of n , i.e.
h(n) 0 for n 0
32
1.2.2.2. Stable LTI Systems
A LTI system is stable if its impulse response is absolutely
summable, i.e.
h( k )
2
k
33
1.2.2.3. Finite Impulse Response (FIR) LTI Systems
and Infinite Impulse Response (IIR) LTI
Systems
N
Causal FIR LTI systems: y ( n) h( k ) x ( n k )
k 0
IIR LTI systems: y ( n) h( k ) x ( n k )
k 0
34
1.2.2.4. Recursive and Nonrecursive LTI Systems
N
Causal nonrecursive LTI: y ( n) h( k ) x ( n k )
k 0
LTI systems:
characterized by constant-coefficient difference equations
35
1.3. Frequency-Domain Representation of
Discrete Signals and LTI Systems
impulse response
y ( n) h( k ) x ( n k )
k
36
LTI system output:
y ( n) h( k ) x ( n k )
k
h
k
( k ) e j ( n k )
h (
k
k ) e j k j n
e e j n
h (
k
k ) e j k
y (n) e jn H (e j )
Frequency response: H (e j ) h
k
( k ) e j k
37
H (e j ) H (e j ) e j ( )
H (e j ) Re H (e j ) j Im H (e j )
H (e ) h(k )cos k j h(k )sin k
j
k k
Re H (e j ) h(k )cosk
k
Im H (e j ) h(k )sin k
k
38
Magnitude response:
j j 2 j 2
H (e ) Re H (e ) Im H (e )
Phase response:
Im H (e j )
( ) arg H (e j ) arctg j
Re H (e )
d ( )
( )
d
39
1.3.1. Comments on relationship between the impulse
response and frequency response
The important property of the frequency response
H (e j )
k
h ( k ) e j k
h ( k )e
k
j 2 l
H (e
j 2 l
)
40
1.3.2. Comments on symmetry properties
For LTI systems with real-valued impulse response, the magnitude
response, phase responses, the real component of and the imaginary
j
component of H (e ) possess these symmetry properties:
Re H (e j ) Re H (e j )
41
The magnitude response: even function of periodic with period 2
H (e j ) H (e j )
The phase response: odd function of periodic with period 2
42
Symmetry Properties H (e j ) EVEN
4 3 2 0 2 3 4
( ) ODD
4 3 2 0 2 3 4
43
1.3.3. Comments on Fourier Transform of Discrete Signals
and Frequency-Domain Description of LTI Systems
44
The input signal x(n) and the spectrum of x(n):
1
j
X (e ) x ( k )e
k
j k
x ( n)
2
X (e j )e j n d
1
H (e j )
j k
h ( k ) e h( n) H (e j )e j n d
k 2
Y (e j ) H (e j ) X (e j ) 45
1.3.4. Comments on Normalized Frequency
It is often desirable to express the frequency response of an LTI
system in terms of units of frequency that involve sampling
interval T. In this case, the expressions:
1
H (e j )
j k
h ( k ) e h( n) H (e j )e j n d
k 2
are modified to the form:
H (e jT ) h (
k
kT ) e j kT
/T
T
h(nT )
2
/T
H (e jT )e jnT d
46
H (e jT ) is periodic with period 2 / T 2 F, where F is
sampling frequency.
Solution: normalized frequency approach: F / 2
Example:
48
1.4.1. Z -Transform
Definition: The Z – transform of a discrete-time signal x(n)
is defined as the power series:
X ( z)
k
x ( n) z k X ( z ) Z [ x(n)]
1
x ( n) X ( z ) z n1dz x(n) Z 1 X ( z )
2 j C
50
1.4.2. Transfer Function
N M
y ( n) b( k ) x ( n k ) a ( k ) y ( n k )
k 0 k 1
51
input signal output signal
x ( n) LTI System y ( n)
h( n) H ( z)
X ( z ) Z x ( n) Y ( z ) Z y ( n)
H ( z ) Z h( n)
Y ( z) b ( k ) z k
H ( z) k 0
M
1 a(k ) z k
X ( z)
k 1
H(z): may be viewed as a rational function of a complex
variable z (z-1). 53
1.4.3. Poles, Zeros, Pole-Zero Plot
Let us assume that H(z) has been expressed in its
irreducible or so-called factorized form:
N N
b ( k ) z k
b0 N M (z z )
k
H ( z) k 0
M
z k 1
M
1 a(k ) z k (z p )
a0
k
k 1 k 1
Phase Response
( )
56
Magnitude Response: Logarithmic Scale (dB)
20log H (e j )
Group Delay Function
( )
57
Pole-Zero
Plot
Zeros
Poles
Unit Circle
58
Pole-Zero Plot:
Zeros
59
1.4.4. Transfer Function and Stability of LTI Systems
60
Example 1: stable system
1 0.9 z 1 0.18 z 2
H ( z)
1 0.8 z 1 0.64 z 2
z1 0.3 p1 0.4000 0.6928 j p1 0.8 1
z2 0.6 p2 0.4000 0.6928 j p2 0.8 1
Example 2: unstable system
1 0.16 z 2
H ( z)
1 1.1z 1 1.21z 2
z1 0.4 p1 0.5500 0.9526 j p1 1.1 1
z2 0.4 p2 0.5500 0.9526 j p2 1.1 1
61
1.4.5. LTI System Description. Summary
Time – Domain:
constant coefficient linear difference equation
N M
y ( n) b( k ) x ( n k ) a ( k ) y ( n k )
k 0 k 1
h(n)
Z – Domain: Frequency – Domain:
transfer function Z FT frequency response
N N
b( k ) z k
Z-1 FT-1 b ( k )e j k
H ( z) k 0
M
H (e j ) k 0
M
1 a(k ) z k 1 a (k )e j k
k 1
z e j e j z k 1
62
Time – Domain: impulse response h(k )
H (e j ) h
k
( k ) e j k
H ( z) h (
k
k ) z k
H e H z ze jw 1
j n 1
h( n) H ( z ) z dz
2 j C