Documente Academic
Documente Profesional
Documente Cultură
Diferential
equations
Amplitude
Amplitude
Derivative
Integrals
Laplace
fourier
Continue-time signal
Difference equations
Differences
Sums
Z-transform
DFT
Discrete-time signal
2
where T is 0.03.
Another notation is a sequence of numbers. For example, the
sequence x can be represented as
{x(n), n Z }
where Z is the set of integer numbers , and x(n) is
referred to as the nth sample of the sequence. For example
..., x(0), x(1), x(2), x(3),...
x(n) or x(nT)
n or nT
nn00
nn00
(n)
1
0
u(n)m
u0(n)um
(n)1)(n(n2)
11,,
uu((nn))
00,,
nn00
nn00
u(n)
u(n)
cosine function
The definition of the cosine function is xx((nn))cos(
cos(
nn)),
whose angular frequency is rad/sample.
cos(2 n 16)
x(n)
Exponential Sequence
The definition of the real exponential function is
xx((nn)) AAnn
n
unit ramp
The definition of the unit ramp
nn,,
rr((nn))
00,,
nn00
nn00
r(n)
10
x(k ) (n k )
u ( n) ( n k )
k 0
r ( n ) n ( n k )
k 0
11
3
a
a32a
a
2
6a
6
x(n)
-3 -2 -1 0 1 2 3 4 5
a 3 (n 3)
a2 (n 2)
a6 (n 6)
x(n) a3 (n 3) a2 (n 2) a6 (n 6)
12
Periodic sequence
A sequence x(n) is defined to be periodic if and only if
there is an integer N0 such that x(n) = x(n + N) for all n.
In such a case, N is called the period of the sequence.
Note, not all discrete cosine functions are periodic.
cos(n) cos( (n N )), n Z
N 2k
2
N
k
Example
Determine whether following discrete signal is periodic
or not. If so, calculate the period of the signal.
x(n) cos(0.85 n 10)
Solution: if the signal is periodic, then we have
x(n N ) cos[0.85 (n N ) 10]
cos(0.85 n 10 0.85 N )
Then
x(n)
Excitation
Discrete-time
Discrete-time
system
system
y(n)
Response
15
16
17
Solution:
T{a x(n)} =3a x(n)+4
aT{x(n)} =3a x(n)+4a
T{a x(n)} aT {x(n)}
So it is not a linear system.
18
19
Solution:
T[x(n-n0)]=3x[(n-n0)]+4
y(n-n0)= 3x[(n-n0)]+4
y(n-n0)= T[x(n-n0)]
So this system is time-invariant.
20
2.2.4 Causality
Causality
A discrete-time system is causal if and only if, when
x1(n) = x2(n) for n < n0, then
T {x1(n)} = T{x2(n)}, for n < n0
A causal system is one for which the output at instant n
does not depend on any input occurring after n.
21
x ( k ) h( n k ) x
max
h(k )
22
Example
Solution:
1. Linearity
Cont.
2. Time-invariance
H {x(n n0 )} (n 1) x 2 (n n0 ) x(n n0 2)
y (n n0 ) (n n0 1) x 2 (n n0 ) x (n n0 2)
H {x(n n0 )} y (n n0 )
so it is time-variant;
2
3. Causality y ( n) (n 1) x (n) x( n 2)
Cont.
4. Stability
for a special bounded input
we have
x ( n ) u ( n)
x ( n) 1
x(k ) (n k )
26
y ( n)
where we define
TT{{((nn)}
)}hh((nn))
27
yy((nn))
xx((kk))hh((nnkk))
kk
(1.37
)
x ( n k ) h( k )
x ( k ) h( n k ) x ( n) h( n)
and
y ( n)
x ( n k ) h( k ) h( n) x ( n)
Example
Compute the linear convolution y(n) = x(n)*h(n), and
x(n) {1, 2,3,1}, h( n) {1, 4,3, 2}
Solution:
x(n) (n) 2 ( n 1) 3 (n 2) (n 3)
h(n) (n) 4 (n 1) 3 (n 2) 2 ( n 3)
y ( n) x ( n) * h( n)
x ( k ) h( n k )
[ (k ) 2 (k 1) 3 (k 2) (k 3)]
[ (n k ) 4 (n k 1) 3 (n k 2) 2 ( n k 3)]
30
Cont.
(n) 4 (n 1) 3 (n 2) 2 ( n 3)
2[ (n 1) 4 ( n 2) 3 ( n 3) 2 ( n 4)]
3[ ( n 2) 4 ( n 3) 3 ( n 4) 2 ( n 5)]
[ (n 3) 4 (n 4) 3 ( n 5) 2 ( n 6)]
(n) 6 (n 1) 14 ( n 2) 21 ( n 3)
17 (n 4) 9 (n 5) 2 ( n 6)
31
Cont.
Solution II:
x(n) {1, 2,3,1}, h( n) {1, 4,3, 2}
x(l )
1 2 3 1
h(0 l ) 2 3 4 1
h(1 l )
2 3 4 1
y ( 0) 1
y (1) 6
h( 2 l )
y (2) 14
h(3 l )
h( 4 l )
h(5 l )
h(6 l )
2 3 4 1
2 3 4 1
2 3 4 1
2 3 4 1
2 3 4 1
y (3) 21
y (4) 17
y (5) 9
y (6) 2
32
x(n)
h1(n)
h2(n)
y(n)
33
Systems in cascade
The output of the first system h1(n) is
x(n) h1 (n)
x(k )h (n k )
1
x(k )h (n k )
h2 (n)
x(k )h (l k ) h (n l )
l k
34
Systems in cascade
By exchange the summing sequence, we get
x(k ) h (l k )h (n l )
Letting n l m, we get
y ( n)
x(k ) h (n m k )h (m)
x(k ) h (n k ) h (n k )
yy((nn)) xx((nn))[[hh11((nn))hh22((nn)])]
35
Systems in cascade
Conclusion: Two linear time-invariant systems in cascade form a
linear time-invariant system with an impulse response which is the
convolution sum of the two impulse responses.
x(n)
x(n)
h1(n)
h2(n)
y(n)
y(t)
36
a y (n i ) b x(n l )
i 0
l 0
(2.1)
y(n-i) x(n-l)
y(n) N
37
a y (n i ) b x(n l )
i
i 0
y ( n)
l 0
a y (n i ) b x(n l )
i
i 1
(2.2)
l 0
a y (n i ) b x(n l )
i
i 1
y ( n)
l 0
b x(n l )
l
(2.3)
l 0
39
y ( n)
x ( n k ) h( k )
Review
A sequence x(n) is defined to be periodic if and only if
there is an integer N0 such that x(n) = x(n + N) for all n.
In such a case, N is called the period of the sequence.
Note, not all discrete cosine functions are periodic.
cos(n) cos( (n N )), n Z
N 2k
2
N
k
Review
The characteristics of the discrete-time system y(n) = H {x(n)} :
Linearity: If y1(n)= H { x1(n)}, y2(n)= H { x2(n)},then
H {ax(n)}=aH {x(n)} and
H { x1(n)+ x2(n)}=H {x1(n)}+H {x2(n)}
for any constants a and b.
time invariance: If y (n)= H { x(n)},then
H { x(n-n0)}=y(n-n0)
Causality: If, when x1(n) = x2(n) for n < n0, then
H {x1(n)} = H {x2(n)}, for n < n0
Stability: For every input limited in amplitude, the output
signal is also limited inamplitude.
h( n)
42
Review
The output y(n) of a linear time-invariant system can be
expressed as
y ( n)
x ( k ) h( n k ) x ( n) h( n)
Review
A nonrecursive system such as
y ( n)
b x(n l )
l
l 0
a y (n i ) b x(n l )
i
i 1
l 0