Chapter I
Chapter I
Chapter I
Course Handled by
Dr. S. Thai Subha
Assistant Professor (Sr. G)
Dept. of EEE
SRM University
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
S.THAI SUBHA
DSP, CHAPTER-I
10/5/2012
Input
Signal
ADC
Analogue
to Digital
Converter
Slide
10/5/2012
3
Digital
Signal
Processor
S.THAI SUBHA
DAC
Output
Signal
Digital to
Analogue
Converter
DSP, CHAPTER-I
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
10/5/2012
Advantages of DSP
Programmable system allows flexibility
Tolerance
Storage
Implementation
Cost
Disadvantages of DSP
System complexity
Bandwidth
Power
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
Signals:
A signal is defined as a function of one or more variables which
conveys information.
A signal is a physical quantity that varies with time in general, or any
other independent variable.
It can be dependent on one or more independent variables.
Ex.
x1(t) = 20t
One-dimensional signal
x2(t) = 20t2
g(x,y) = x+3xy+2y2 Two-dimensional signal
N
S.THAI SUBHA
DSP, CHAPTER-I
10/5/2012
Based on dimensions:
One- dimensional signal
Two- dimensional signal
Multi- dimensional signal
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
x
Multi dimensional signal
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
Ir (x, y, t)
I(x, y, t) = Ig (x, y, t)
Ib (x, y, t)
8
10/5/2012
s1(t)
Sk (t) = s2 (t)
s3(t)
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
10
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
11
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
12
10/5/2012
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
13
P. No.1:
The continuous time signal x(t) = 5sint for the
interval 3 t 0. Plot the corresponding discretetime signal with a sampling period T = 0.1s.
Solution:
x(t) = 5sint
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
14
10/5/2012
x(t) = 5sint
x(t) = 5sin( t)
5
4
3
2
x (t)
1
0
-1
-2
-3
-4
-5
0.5
1.5
2.5
time (t)
10/5/2012
S.THAI SUBHA
t
0
0.2
0.4
0.6
0.8
1
1.2
1.4
1.6
1.8
2
2.2
2.4
2.6
2.8
3
DSP, CHAPTER-I
x(t)
0
2.9399
4.7561
4.7541
2.9348
-0.0063
-2.9451
-4.758
-4.7521
-2.9297
0.0126
2.9502
4.7599
4.7502
2.9246
-0.019
15
Discrete-time signal
x(t) = 5sin(t)
5
x(t)
-1
-2
-3
-4
-5
10/5/2012
0.5
S.THAI SUBHA
1.5
time (t)
DSP, CHAPTER-I
2.5
16
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
17
x (n )
1
0
-1
-2
-3
-4
-5
10
15
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
n
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
x(n)
0
1.5457
2.9399
4.0462
4.7561
5
4.7541
4.0425
2.9348
1.5397
-0.0063
-1.5517
-2.9451
-4.0499
-4.758
-5
18
10/5/2012
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
19
x(t) = e-2t
60
t
-2
-1.5
-1
-0.5
0
0.5
1
1.5
2
50
x (t)
40
30
20
x(t)
54.5982
20.0855
7.3891
2.7183
1
0.3679
0.1353
0.0498
0.0183
10
0
-2
10/5/2012
-1.5
-1
-0.5
0.5
time (t)
S.THAI SUBHA
1.5
DSP, CHAPTER-I
20
10
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
21
x(n) = e-0.2n
n
-5
-4
-3
-2
-1
0
1
2
3
4
5
2.5
x(n )
1.5
0.5
0
-5
-4
-3
-2
-1
x(n)
2.7183
2.2255
1.8221
1.4918
1.2214
1
0.8187
0.6703
0.5488
0.4493
0.3679
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
22
11
10/5/2012
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
23
S.THAI SUBHA
DSP, CHAPTER-I
24
12
10/5/2012
Properties:
For every fixed value of the frequency F, xa(t) is
periodic, i.e., xa(t+T) = xa(t)
where T = 1/F is the fundamental period of the
sinusoidal signal.
Continuous-Time sinusoidal signals with distinct
frequencies are themselves distinct.
Increasing the frequency F results in an increase in
the rate of oscillation of the signal, i.e., more periods
are included in a given time interval.
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
25
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
26
13
10/5/2012
Properties:
1. A Discrete-time sinusoid is periodic only if its
frequency f is a rational number.
By definition, a discrete-time signal x(n) is periodic with
period N(N > 0) iff,
x(n+N) = x(n)
Smallest value of N Fundamental period.
Proof:
x(n) = Acos(n + )
x(n+N) = cos[2f0(N+n) + ] = cos[2f0n+ ]
2f0N = 2k
f0 = Nk
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
27
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
28
14
10/5/2012
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
29
t = nT = n
Fs
xa(t) = A cos(2Ft+)
x(n) = A cos(2fn+); where f =
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
F
Fs
30
15
10/5/2012
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
31
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
32
16
10/5/2012
1. Sampler
2. Quantizer
Sampler
3. DSP
4. DAC
Quantizer
Sampled values are represented by a certain no. of
bits depending on the accuracy (only finite amplitude
level is possible)
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
33
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
34
17
10/5/2012
Illustration of quantization
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
35
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
36
18
10/5/2012
x2(n) = cos250
40 n = cos 2 n = cos 2 n
S.THAI SUBHA
DSP, CHAPTER-I
37
Aliasing effect
Aliasing effect
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
38
19
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
39
S.THAI SUBHA
DSP, CHAPTER-I
40
20
10/5/2012
Solution:
xa(t) = A cos(2Ft+)
(a). xa(t) = 3 cos(2*50)t
F = 50Hz
The minimum sampling rate required to avoid
aliasing is Fs = 100Hz.
(b). The discrete time signal after sampling at Fs
= 200Hz is,
100
x a ( n ) = 3 cos
n = 3 cos n
200
2
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
41
S.THAI SUBHA
DSP, CHAPTER-I
42
21
10/5/2012
Representation of signals
Discrete-time sequence may be represented in many
ways:
(i). Functional representation:
2 for n = 1, 3, 5
x(n) = 1 for n = -1, -2, 4, 7
0 , otherwise
S.THAI SUBHA
DSP, CHAPTER-I
43
Basic sequences
Unit sample sequence (Unit Impulse sequence)
contains only one non-zero valued element & it is defined
as,
Plays role in digital filters
(n)= 1 , for n = 0
0 , otherwise
otherwise
0,
used to define the starting point of the sequence in analytic
expressions. Ex.
x(n) = a n , n 0
otherwise
0,
can be written as x(n)=anu(n), for all n
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
44
22
10/5/2012
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
45
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
46
23
10/5/2012
0, otherwise
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
47
E =
[x ( n ) ]
n =
Lim
N
10/5/2012
S.THAI SUBHA
N
1
2
x (n )
2 N + 1 n = N
DSP, CHAPTER-I
48
24
10/5/2012
1
N
N 1
x (n )
n =0
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
49
Problem:
Determine the power & energy of the unit step
sequence.
The average power of the unit step signal is
1
P = Lim
u (n )
2N + 1
N
avg
Pavg =
Lim
N
n =0
N
1
1 =
2 N + 1 n =0
1+
Pavg =
1
N
1
N
Lim 2 N + 1 ( N + 1)
N
Lim 2 + = 2
Pavg is finite. Unit step signal is a power signal.
For power signal, E= , prove it.
N
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
50
25
10/5/2012
Problem:
Test whether the given signal is an energy signal
or a power signal. x(n) = (-0.5)nu(n)
E =
x (n )
= ( 0 . 5) n u ( n )
n =
n =0
1
4
= (0.5) =
= <
1 0.25 3
n =0
2n
a
n =0
1
1 a
10/5/2012
S.THAI SUBHA
P=
Lim
N
DSP, CHAPTER-I
51
N
1
[x ( n ) ]2
2 N + 1 n= N
2
1 N
P = Lim
(0.5) n u(n)
N 2N + 1 n =0
N
1
1
= Lim
(0.25) n = = 0
N 2 N + 1 n =0
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
52
26
10/5/2012
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
53
Substitute t = t+T, (T = 2)
sin(t+2)=sint
x(t+T) = esin(t+T) = esin(t) = x(t)
Hence, the signal x(t) = esin(t) is periodic
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
54
27
10/5/2012
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
55
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
56
28
10/5/2012
3
5
is not a multiple of .
2 k
2k * 3
=
0
2
Minimum value of N is 3.
2 k
2k * 3
N =
=
(iv). N1= 6
2 k
2 k * 4
N2= 8
N =
=
1
N
N
1
2
6
3
=
8
4
N = 4N1 = 3N2 = 24
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
57
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
58
29
10/5/2012
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
59
-1
X(n)
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
60
30
10/5/2012
xe(n)= {4, 3, 1, 3, 4}
For odd part, xo(n)= 12 [x(n) - x(-n)]
S.THAI SUBHA
DSP, CHAPTER-I
61
S.THAI SUBHA
DSP, CHAPTER-I
62
31
10/5/2012
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
63
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
64
32
10/5/2012
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
65
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
66
33
10/5/2012
x(n-2) = {0 0 1 1 2 1 3 1 0 0 }
x(n+1)= {0 0 1 1 2 1 3 1 0 0 }
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
67
FD [ x ( n )] = x ( n k )
FD [ x ( n )] = x ( ( n k )) = x ( n + k )
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
68
34
10/5/2012
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
69
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
70
35
10/5/2012
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
71
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
72
36
10/5/2012
y ( n ) = x ( n )
Transformation operator
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
73
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
74
37
10/5/2012
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
75
(Additive property)
Also, if a1= a2= 0, for x(n) = 0, if y(n) = 0
Relaxed system.
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
76
38
10/5/2012
System
y(n) = x(-n)
10/5/2012
a1
System
a2
yI(n) = a1x1(-n)+a2x2(-n)
S.THAI SUBHA
DSP, CHAPTER-I
77
System
y1(n) = x1(-n)
a1
a2
System
yO(n) = a1x1(-n)+a2x2(-n)
y2(n) = x2(-n)
S.THAI SUBHA
DSP, CHAPTER-I
78
39
10/5/2012
System
y(n) = Ax(n)+B
10/5/2012
a1
a2
System
yI(n) = A[a1x1(n)+a2x2(n)]+B
S.THAI SUBHA
DSP, CHAPTER-I
79
System
System
y1(n) = Ax1(n)+B
a1
yO(n) = a1[Ax1(n)+B]+
a2[Ax2(n)+B]
y2(n) = Ax2(n)+B
a2
S.THAI SUBHA
DSP, CHAPTER-I
80
40
10/5/2012
x(n)
System
y(n) = x ( k )
k =n 0
a1
a2
System
n
yI(n) = [a 1 x 1 (k ) + a 2 x 2 (k )]
k =n 0
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
81
x1(n)
x2(n)
System
System
y1(n) =
x
k =n 0
(k )
a1
n
k =n 0
k=n0
yO(n) = a 1 x 1 ( k ) + a 2 x 2 ( k )
a2
y2(n) = x 2 ( k )
k =n 0
S.THAI SUBHA
DSP, CHAPTER-I
82
41
10/5/2012
(5). Linear
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
83
y(n k)
If x ( n )
y ( n ) , then x(n k)
If the output y(n, k) = y(n-k) for all possible value
of k, then the system is called Time-Invariant.
If the output y(n, k) y(n-k) for all possible value
of k, then the system is called Time-variant.
x(n)
Delay
System
10/5/2012
System
y(n)
S.THAI SUBHA
Delay
DSP, CHAPTER-I
y(n, k)
y(n-k)
84
42
10/5/2012
x(n-k)
Delay
System
System
y(n)=
x(2n)
x(2n-k)
Delay
y(n, k)
x(2n-2k)
y(n-k)
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
85
Delay
System
x(n-k)
x(n)sin 0n
System
Delay
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
86
43
10/5/2012
Delay
System
x(n-k)
x(-n)
System
Delay
y(n-k)= x(-(n-k))=x(-n+k)
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
87
Delay
System
x(n-k)
ax(n)+b
System
Delay
y(n-k)= ax(n-k)+b
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
88
44
10/5/2012
Delay
x (L )
L=n 0
x(n-k)
System
n
y(n, k)= x ( L k )
x (L )
System
L=n 0
L=n0
Delay
y(n-k)= x ( L k )
L=n 0
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
89
DSP, CHAPTER-I
90
S.THAI SUBHA
45
10/5/2012
k =0
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
91
S.THAI SUBHA
DSP, CHAPTER-I
92
46
10/5/2012
k=4
Future samples
S.THAI SUBHA
DSP, CHAPTER-I
93
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
94
47
10/5/2012
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
95
h (k ) <
k =
h(k) < h() + .....+ h(2) + h(1) + h(0) + h(1) + h(2) + ......+ h()
k =
S.THAI SUBHA
DSP, CHAPTER-I
96
48
10/5/2012
h(k) < h() + .....+ h(2) + h(1) + h(0) + h(1) + h(2) + ......+ h()
k =
k =
S.THAI SUBHA
DSP, CHAPTER-I
97
Impulse response
The response to the unit sample sequence
{(n)} is called unit sample sequence or
impulse response denoted by {h(n)}.
Ex. If y(n, k) is a response of the system to the
I/P, unit sample sequence at n = k, then h(n, k)
= y(n, k) = [(n-k)].
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
98
49
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
99
k =
S.THAI SUBHA
DSP, CHAPTER-I
100
50
10/5/2012
y( n ) = x ( k ) ( n k )
k =
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
101
y(n) = x(k)(n k)
k=
y(n ) =
x (k )[(n k )]
k =
y(n ) = x (n ) * h (n )
x (k )h (n , k )
Thus, the response of a linear system to the
set of shifted unit impulses, we can construct
the response to an arbitrary I/P.
y(n ) =
k =
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
102
51
10/5/2012
Properties of convolution:
(i). Commutative law: x(n)*h(n) = h(n)*x(n)
(ii). Associative law: [x(n)*h1(n)]*h2(n) =
x(n)*[h1(n)*h2(n)]
(iii). Distributive law: x(n)*[h1(n)*h2(n)] =
x(n)*h1(n)+x(n)*h2(n)
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
103
Causality
y(n ) =
x (k )h (n, k )
k =
y(n ) =
x (k )h (n, k )
k =0
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
104
52
10/5/2012
k =
1
h (n ) = u (n )
n =
n = 2
n =
10/5/2012
n =0
1
1 a
h (n ) = 1
n =0
1 1
1
= 1 + + ....
2 2
n =0 2
h (n ) =
1
2
=2
S.THAI SUBHA
Stable
DSP, CHAPTER-I
105
S.THAI SUBHA
DSP, CHAPTER-I
106
53
10/5/2012
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
107
y ( n ) = x ( n )
Transformation operator
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
108
54
10/5/2012
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
109
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
110
55
10/5/2012
(Additive property)
Also, if a1= a2= 0, for x(n) = 0, if y(n) = 0
Relaxed system.
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
111
System
y(n) = x(-n)
10/5/2012
a1
a2
System
yI(n) = a1x1(-n)+a2x2(-n)
S.THAI SUBHA
DSP, CHAPTER-I
112
56
10/5/2012
System
y1(n) = x1(-n)
a1
a2
System
yO(n) = a1x1(-n)+a2x2(-n)
y2(n) = x2(-n)
S.THAI SUBHA
DSP, CHAPTER-I
113
System
y(n) = Ax(n)+B
10/5/2012
a1
a2
System
yI(n) = A[a1x1(n)+a2x2(n)]+B
S.THAI SUBHA
DSP, CHAPTER-I
114
57
10/5/2012
System
System
y1(n) = Ax1(n)+B
a1
yO(n) = a1[Ax1(n)+B]+
a2[Ax2(n)+B]
y2(n) = Ax2(n)+B
a2
S.THAI SUBHA
DSP, CHAPTER-I
115
x(n)
System
y(n) = x ( k )
k =n 0
a1
a2
System
n
yI(n) = [a 1 x 1 (k ) + a 2 x 2 (k )]
k =n 0
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
116
58
10/5/2012
x1(n)
x2(n)
System
System
y1(n) =
x
k =n 0
(k )
a1
n
k =n 0
k=n0
yO(n) = a 1 x 1 ( k ) + a 2 x 2 ( k )
a2
y2(n) = x 2 ( k )
k =n 0
S.THAI SUBHA
DSP, CHAPTER-I
117
(5). Linear
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
118
59
10/5/2012
y(n k)
If x ( n )
y ( n ) , then x(n k)
If the output y(n, k) = y(n-k) for all possible value
of k, then the system is called Time-Invariant.
If the output y(n, k) y(n-k) for all possible value
of k, then the system is called Time-variant.
x(n)
Delay
System
System
10/5/2012
y(n)
S.THAI SUBHA
y(n, k)
Delay
y(n-k)
DSP, CHAPTER-I
119
x(n-k)
Delay
System
y(n)=
x(2n)
System
x(2n-k)
Delay
y(n, k)
x(2n-2k)
y(n-k)
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
120
60
10/5/2012
x(n)
x(n-k)
Delay
System
10/5/2012
System
y(n)=
x(n2)
S.THAI SUBHA
Delay
x(n2-k)
y(n, k)
x(n2+k2-2kn)
y(n-k)
DSP, CHAPTER-I
121
Delay
System
x(n-k)
x(n)sin 0n
System
Delay
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
122
61
10/5/2012
Delay
System
x(n-k)
x(-n)
System
Delay
y(n-k)= x(-(n-k))=x(-n+k)
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
123
Delay
System
x(n-k)
ax(n)+b
System
Delay
y(n-k)= ax(n-k)+b
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
124
62
10/5/2012
x(n)
Delay
x(n-k)
System
n
y(n, k)= x ( L k )
x(L)
System
L=n 0
L=n0
Delay
y(n-k)= x ( L k )
L=n 0
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
125
k =0
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
126
63
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
127
p
(2). y(n) = ax(n)+b Causal
(3). y(n) = x(n)+u(n+1) Causal
n
k=4
Future samples
S.THAI SUBHA
DSP, CHAPTER-I
128
64
10/5/2012
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
129
Recall:
Impulse response:
The response to the unit sample sequence
{(n)} is called unit sample sequence or
impulse response denoted by {h(n)}.
Ex. If y(n, k) is a response of the system to the
I/P, unit sample sequence at n = k, then h(n, k)
= y(n, k) = [(n-k)].
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
130
65
10/5/2012
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
131
k =
0 , otherwise
h(n) = cos [(n)]
h(k) < h() + .....+ h(2) + h(1) + h(0) + h(1) + h(2) + ......+ h()
k =
S.THAI SUBHA
DSP, CHAPTER-I
132
66
10/5/2012
h(k) < h() + .....+ h(2) + h(1) + h(0) + h(1) + h(2) + ......+ h()
k =
k =
S.THAI SUBHA
DSP, CHAPTER-I
133
S.THAI SUBHA
DSP, CHAPTER-I
134
67
10/5/2012
k =
S.THAI SUBHA
DSP, CHAPTER-I
135
y( n ) = x ( k ) ( n k )
k =
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
136
68
10/5/2012
y(n) = x(k)(n k)
k=
y(n ) =
x (k )[(n k )]
k =
y(n ) = x (n ) * h (n )
x (k )h (n , k )
Thus, with the response of a linear system to
the set of shifted unit impulses, we can
construct the response to an arbitrary I/P.
y(n ) =
k =
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
137
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
138
69
10/5/2012
Causality
x (k )h (n, k )
y(n ) =
k =
y(n ) =
x (k )h (n, k )
k =0
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
139
k =
1
h (n ) = u (n )
n =
n = 2
n =0
1
1 a
1 1
1
h ( n ) = = 1 + + ....
2 2
n =
n =0 2
h (n ) = 1
n =0
10/5/2012
1
2
=2
S.THAI SUBHA
Stable
DSP, CHAPTER-I
140
70
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
141
k =
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
142
71
10/5/2012
= 4 + 5 + 6 = 15
y(3) = x (k )h (3 k ) = x (0)h (3) + x (1)h (2) + x (2)h (1) + x (3)h (0) + ...
k =0
= 3 + 4 + 5 + 6 = 18
y(4) = x (k )h (4 k ) = x (0)h (4) + x (1)h (3) + x (2)h (2) + x (3)h (1) + ...
k =0
= 2 + 3 + 4 + 5 = 14
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
143
y(5) = x (k )h (5 k ) = x (0)h (5) + x (1)h (4) + x (2)h (3) + x (3)h (2) + ...
k =0
= 1 + 2 + 3 + 4 = 10
y(6) = x (k )h (6 k ) = x (0)h (6) + x (1)h (5) + x (2)h (4) + x (3)h (3) + ...
k =0
= 1+ 2 + 3 = 6
y(9) = y(10) = 0
y(n) = {6, 11, 15, 18, 14, 10, 6, 3, 1, 0}
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
144
72
10/5/2012
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
145
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
146
73
10/5/2012
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
147
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
148
74
10/5/2012
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
149
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
150
75
10/5/2012
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
151
Ex. 1.4
Practice problem 1.3
Ex. 1.5
Practice problem 1.4
Ex. 1.8
Practice problem 1.7
Ex. 1.9
Practice problem 1.8
Ex. 1.11
Ex. 1.12
Ex.1.14
Ex. 1.15
Ex. 1.16
Practice problem 1.9
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
152
76
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
153
Non-recursive system :
It do not require any past output sample to
calculate the present output.
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
154
77
10/5/2012
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
155
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
156
78
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
157
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
158
79
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
159
S.THAI SUBHA
DSP, CHAPTER-I
160
80
10/5/2012
Pr.: Determine the homogeneous solution of the system described by the first
order difference equation y(n) +3y(n-1) = x(n), with initial condition y(-1) = 1.
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
161
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
162
81
10/5/2012
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
163
1
y p (n) = k u(n)
2
n
1
1
k + 2k
2
2
n 1
1
+ k
2
n2
n 1
1 1
= + u(n 1)
2 2
1 1
1
1
1
k + 2k + k = + k =
4 2
3
2
2
n
1 1
y p ( n ) = u ( n )
3 2
n
1 1
y(n) = A1 (1) + A2 n(1) + u(n)
3 2
n
(1)
y(0) = A1 +
S.THAI SUBHA
1
3
DSP, CHAPTER-I
y(1) = A1 A2 +
1
6
164
82
10/5/2012
7
3
A 2 = 2
7
1 1
y(n) = (1) n 2n(1) n + u(n)
3
3 2
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
165
S.THAI SUBHA
DSP, CHAPTER-I
166
83
10/5/2012
1 1
y(n) = A1 (1) + A2 n(1) + u(n)
3 2
n
(1)
y(0) = A1 +
1
3
y(1) = A1 A2 +
1
6
2
1 1
y(n) = (1) n + u(n)
3
3 2
10/5/2012
S.THAI SUBHA
DSP, CHAPTER-I
167
84