Digital Signal Processing Chapter#2
Digital Signal Processing Chapter#2
1. Classification of Signals
2. Block Diagram Representation of DT
Systems
3. Classification of DT Systems
4. DT Convolution and Properties
5. DT Correlation Functions
Classification of Discrete-Time
Signals
x ( n) x ( n)
x(n)
n
-3 -2 -1 0 1 2 3
Odd or Asymmetric Signal
x ( n) x ( n)
x(n)
4
3
2
1
0
n
-1
-2
-3
-4
Energy Signal
2
E x(n)
n
The energy of a signal can be finite or infinite. If ‘E’
is finite (i.e. 0<E<), then x(n) is called an Energy
Signal.
Power Signal
1 N 2
P Lim U (n)
N 2N 1 n N
P Lim N 1
N 2N 1
1 1
P Lim N 1/ 2
1
N 2 N
Consequently, the unit step sequence is a power
signal. Its energy is infinite
Periodic & Aperiodic Signals:
a signal x(n) is periodic with period N(N > 0) if and only if x(n + N) =
x(n) for all n. Eq (2.1.20)
N 2k
0
f k
0 N
x(n) sin(n / 9)
f k / N / 2 / 9 / 2 1/18
0 0
N 18
After 18 samples the signal will repeat itself. Hence the signal is a Periodic
Signal.
Example:
x(n) sin N sin( 2n)
0
f k / N / 2 2 / 2
0 0
/ 2 || Irrational
Therefore Aperiodic Signal
Energy of a Periodic signal
The energy of a periodic signal x(n) over a single period, say, over the interval
0< n < N - 1, is finite if x(n) takes on finite values over the period. However,
the energy of the periodic signal for < n < is infinite.
On the other hand, the average power of the periodic signal is finite and it is
equal to the average power over a single period. Thus if x(n) is a periodic signal
with fundamental period N and takes on finite values, its power is given by
Random signals:
In many practical applications, however, there are signals that either
cannot be described to any reasonable degree of accuracy by explicit
mathematical formulas. or such a description is too complicated to be of
any practical use. The lack of such a relationship implies that such
signals evolve in time in an unpredictable manner. We refer to these
signals as random signal. The output of a noise generator. the seismic
signal, and the speech signal are examples of random signals .
Simple Manipulations of Discrete-
Time Signals
A signal x(n) is graphically illustrated in Fig. 2.1.9(a). Show a graphical representation of the
signals x(n - 3) and x(n+2).
Folding and Shifting:
Another useful modification of the time base is to replace the independent variable ‘n’ by
‘–n’. The result of this operation is a folding or a reflection of the signal about the time origin
n=0
Folding and Shifting:
Down-sampling:
A third modification of the independent variable involves replacing n by (µn),
where µ is an integer. We refer to this time-base modification as time scaling or down-
sampling.
Amplitude Modification: (Addition,
multiplication, and scaling of sequences)
The sum of two signals Xl (n) and X2 (n) is a signal y(n), whose value at any instant is
equal to the sum of the values of these two signals at that instant, that is,
y(n) = Xl (n) + X2(n), - < n <
Delay x(n-2)
Advance x(n+1)
Compressed Signal x(2n)
Expanded Signal x(n/2)
Reverse-Time x(-n)
x(n)
-n n
-4 -3 -2 -1 0 1 2 3
Discrete-time (DT) System:
The output of this system at any time is the mean value of the present, the immediate past, and the
immediate future samples. For example, the output at time n = 0 is
Y(0) = 1/3[x(-1) +x(0) +x(1)] = 1/3[1 + 0 + 1] = 2/3
Repeating this computation for every value of n, we obtain the output signal
Unit Delay:
Unit Advance:
Adder:
A constant Multiplier:
A Signal Multiplier:
Example:
y ( n) 2 x ( n 1) x ( n)
Example:
(i ) y ( n ) x ( n ) x ( n 1)
n
(ii ) y ( n ) x(k )
k
(iii ) y ( n ) ax ( n )
(iv ) y ( n ) x ( n ) 3 x ( n 4)
(v ) y ( n) x ( n 2 )
(vi ) y ( n) x ( 2n)
(vii ) y ( n) x ( n)
Linear & Non-linear:
2 2
a y (n) a y (n) na x (n) na x (n) (2)
1 1 2 2 11 2 2
System is a non-linear.
Example:
x( n)
y ( n) e
a x ( n) a x ( n)
y ( n) e 1 , y ( n) e 2
1 2
a x ( n)a x ( n)
y ( n) e 1 2
3
a x ( n) a x ( n)
y ( n) a y ( n) a y ( n) a e 1 a e 2
4 1 1 2 2 1 2
Since, y ( n) y ( n)
3 4
Non Linear
Static & Dynamic System (Memoryless or
System with memory)
A discrete-time system is called static or memoryless if its output at any instant n depends at
most on the input sample at the same time, but not on past or future samples of the input. In any
other case, the system is said to be dynamic or to have memory.
The systems described by the following input-output equations are both static or memoryless.
On the other hand, the systems described by the following input-output relations are dynamic
systems or systems with memory.
Time-invariant & Time-variant:
EXAMPLE
d (n-1)
1
0 n
-1 0 1
x(n) x(k ) (n k )
x( 1) (n 1) x(0) (n) x(1) (n 1)
3 (n 1) 2 (n) (n 1)
4
-1
-2 n
x(n) x(k ) (n k )
x( 2) (n 2) x( 1) (n 1) x(0) (n) x(1) (n 1)
x(2) (n 2)
(n 2) (n 1) 3 (n) (n 1) (n 2)
When the input of a system is a Unit Impulse then the
output of the system is called Impulse Response.
y(n) x(k )h(n k )
k
Discrete-time Convolution
1. Folding
2. Shifting
3. Multiplication
4. Summation
Discrete-time Convolution
Example:
Compute and verify convolution result given in equation y(n)
x(n) 1,2,2
h(n) 2,1
y ( n) x ( n) * h( n) h( n) * x ( n)
Properties of Convolution and the Interconnection of LTI
Systems
N M
a k y ( n k ) bk x ( n k )
k k
(1) y (n) x(n) x(n 1)
(2) y (n) x(n) y (n 1)
Those system which depend on i/p as well as on o/p,
in other words there is some feedback, that system is
Recursive.
N M
y (n) a y (n k ) b x(n k )
k k k k
Those system which depend only on i/p in other
words there is no feedback, that system is Non-recursive.
M
y ( n) b x ( n k )
k k
LTI System characterized by constant- coefficient
Difference Equations
y (n) a n1 y ( 1) , n 0
zi
The general class of recursive systems described by
linear constant-coefficient difference equations:
y ( n) x ( n)
y ( n) x ( n) x ( n l )
n
Example: