Professional Documents
Culture Documents
04 - Discrete-Time - Signal - System - A - Review - .PPT (Compatibility Mode) PDF
04 - Discrete-Time - Signal - System - A - Review - .PPT (Compatibility Mode) PDF
1
Discrete – Time Signal
A discrete-time signal, also referred as sequence, is only defined at
discrete time instances.
x(t) x(n)
2
Periodic and Non-Periodic
Periodic signal is
x(n) = x(n+N) -<n<
3
Examples Of Aperiodic Signals
x(n)=1 n=0
Impulse function =0 elsewhere
4
Energy and Power
Energy
N 1 N 1 2
*
E x x(n) x (n) x(n)
n0 n0
Power
1 N 1 * 1 N 1 2 1
Px x ( n ) x ( n ) x ( n ) Ex
N n 0 N n 0 N
5
Systems
A system operates on a signal to produce an output.
6
Characteristics of systems
time invariant
shift invariant
causal
stability
Linearity
Time and shift invariant means that the system characteristics and
shift do not change with time.
7
Characteristics of systems
Causality
h(n)0 n0
=0 n<0
Stability
n
h (n )
Linearity
T [ x 0 ( n)] T [ x1 ( n)] T [ x 0 ( n) x1 ( n)] x0(n) & x1(n) are 2 different inputs
8
Convolution
y ( n ) h ( n ) * x ( n ) h ( ) x ( n )
y ( n ) x ( n ) * h ( n ) x ( ) h ( n )
Example
Consider a system with an impulse response of
h(n) = [ 1 1 1 1 ]
If the input to the signal is
x(n) = [ 1 1 ]
Thus, the output of the system is y (n)
h ( ) x ( n )
10
Example (Cont.)
h(n) x(n)
1 1
n n
0 1 2 3 0 1
i) The definition of the system impulse response h(n) and the input signal x(n)
1 1 1
0 1 2 3 -1 0 -1 0 1 2 3
y (0)
h ( ) x (0 ) 1
11
Example (Cont.)
ii) The result at n=1.
h() x(1-) h() x(1-)
y (1)
h( ) x (1 ) 2
1 1 1
0 1 2 3 0 1 0 1 2 3
0 1 2 3 1 2 0 1 2 3
12
iV) At n=3
h() x(3-) h() x(3-)
y ( 3)
h ( ) x (3 ) 2
1 1 1
0 1 2 3 2 3 0 1 2 3
v) At n=4
h() x(4-) h() x(4-)
y ( 4) h ( ) x ( 4 ) 1
1 . 1 1
0 1 2 3 3 4 0 1 2 3 4
h(n)
Finally 2
n
0 11 2 3 4 13
Frequency Domain Representation
An alternative representation and characterization of signals.
Much more information can be extracted from a signal.
Many operations that are complicated in time domain become rather
simple.
Fourier Transforms:
F
x(t) X()
Fourier series – for periodic continuous time signals
Fourier Transform – for aperiodic continuous time signals
Discrete Time Fourier Transform (DTFT) – for aperiodic discrete time signals
(frequency domain is still continuous however) F
x(n) X()
Discrete Fourier Transform (DFT) – DTFT sampled in the frequency domain
Fast Fourier Transform (FFT) – Same as DFT, except calculated very efficiently
14
DTFT & its Inverse
Since the sum of x[n], weighted with
continuous exponentials, is continuous,
the DTFT X() is continuous (non-
discrete)
Since X() is continuous, x[n] is obtained
as a continuous integral of X(), weighed
by the same complex exponentials.
x[n] is obtained as an integral of X(),
where the integral is over an interval of
2pi.
X() is sometimes denoted as X(ej)
in some books.
15
Example: DTFT of Impulse Function
16
Example: DTFT of constant function
17
Discrete Fourier Transform
DTFT does not involve any sampling- it’s a continuous function
18
DFT
19
Energy and Power Spectrum
Energy
2
E xx ( k ) X ( k )
Power Spectrum
1 2
S xx ( k ) X (k )
N
20
Fast Fourier Transform
The computation complexity of the N length DFT is N2.
21
FFT
The two approaches for implementing the FFT:
22
FFT in Matlab
23
Convolution in Frequency Domain
Convolution in time domain = multiplication in frequency domain
24
Sampling
Sampling: Process of conversion from continuous-time to discrete-
time representation.
Sampling Process
Spectrum of Sampled Signals
If x(t) has a spectrum X(f), then the spectrum of a sampled signal
x(n) is
X (exp( j 2f )) FT [ x ( n )] FT x (t ) x (t ) FT x (t ) (t nT s )
n
x(t ) (t nTs ) exp( j 2ft )dt x(n) exp( j 2fnTs )
n n
X ( f nf s )
n
Spectrum of Sampled Signals
|X(f)|
-fm fm f
|X(exp(2f)|
f s 2 f max
Difference Equations
A continuous-time system can be described by differential equations.
Discrete-time systems are described by difference equations that can
be expressed in general form as
30
Difference Equations
M M
y ( n) a ( ) y ( n ) b( ) x ( n ) (Infinite Impulse Response - IIR)
1 0
M
y (n)
0
b ( ) x (n ) (Finite Impulse Response - FIR)
31