







Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!








As [ 2 ] 2 [ 1 ] 8
y [ n ]ā yn ā + yn ā = xn ā , the Fourier transform is
jw jw jw jw jw jw jw Y e Y e e Y e e X e e
ā ā ā ā + ( ) = 2 ( ) 8
2
When [ ]= [ ]ā ( )= 1
jw
ā ā ā ā
ā
jw jw jw jw
jw jw
e e e e
e Y e 1 ( 1 / 4 )
2
y [ n ] 8 un
n n
As h[n] = [1 1 1 1 ā2 ā2] for n from 0 to 5 and x[n] = u[n-4], the system response is:
y[n] = x[n] * h[n] = [0 0 0 0 1 2 3 4 2 0 ā¦..]; The sketch is shown as follows:
HW#2: P2.5; P2.18; P2.29 (a), (c), (e)
(a) The roots for polynomial 1 5 6 0
1 2 ā + =
ā ā z z are 2 and 3, so the homogeneous
response for the system is:
n n y [ n ]= A 1 2 + A 23
(b) As y [ n ]ā 5 y [ n ā 1 ]+ 6 y [ n ā 2 ]= 2 x [ n ā 1 ] and x [ n ]= Ī“[ n ], the impulse response of
the system is:
2
hn u n
e e e e
e H e
n n
jw jw jw jw
jw jw
ā ā ā ā
ā
(c) As y [ n ]ā 5 y [ n ā 1 ]+ 6 y [ n ā 2 ]= 2 x [ n ā 1 ]and x [ n ]= u [ n ], the step response of the
system is:
1 2
1 2 1 1 1 1
1
yn u n
z z z z z z z
z Y z H z X z
n n ā = ā +
ā ā ā ā ā ā
ā
(a) h [ n ] ( 1 / 2 ) u [ n ]
Causal, the output of the system does not depend on future input;
(b) h [ n ]= ( 1 / 2 ) u [ n ā 1 ]
n
Causal, the output of the system does not depend on future input;
(c)
n h [ n ]=( 1 / 2 )
Non-Causal, the output of the system depends on future input;
(d) h [ n ]= u [ n + 2 ]ā u [ n ā 2 ]
Non-Causal, the output of the system depends on future input;
(e) h [ n ]= ( 1 / 3 ) u [ n ]+ 3 u [ā n ā 1 ]
n n
Non-Causal, the output of the system depends on future input;
As x[n] = [1 1 1 1 1 1/2] for n from ā1 to 4,
(a) x[n-2] = [1 1 1 1 1 1/2] for n from 1 to 6; The sketch is:
x [ n ] cos( n ) u [ n ] ( 1 ) u [ n ]
n = Ļ = ā
[ ] ( un
j h n
1
0
j
j
j uk un k
j yn hn xn hk xn k
n n
k
n
k
k nk n k
k
ā
= āā =
ā
ā
=āā
ā ā ā
Since 1 / 2
lim
1
j j
j
n
n (^) +
āā
The steady state response to the excitation x [ n ] ( 1 ) u [ n ]
n = ā is
cos( )
j
n
j
n
Ļ
Given a periodic impulse train (^) ā
ā
=āā
k
ā
ā
=āā
k
j k N N
X e ( 2 / )
(Refer to Signal and Systems , 2 nd edition by A.V. Oppenheim and A.S. Willsky, Page 371 for its proof)
In problem, 2.41, N =16, so its Fourier transform is
ā
ā
=āā
k
j X e ( 2 k / 16 ) 16
Let ( )
j Ļ Y e denotes the output of the system, then
j Ļ j Ļ j Ļ Y e = X e He (3)
3 ( )
j Ļ j Ļ H e e
ā
ā
=āā
ā ā
j j
k
j e k e e (4)
j Ļ H e , thus ( )= 0
j Ļ Y e , (5)
So [ ( ) ( / 8 ) ( / 8 )] 16
3 / 8 3 / 8
j j ā j Y e e e (6)
Take the inverse Fourier transform, we can get
cos( 8
( 1 2 cos 16
3 / 8 / 8 3 / 8 / 8 ( 3 ) / 8 ( 3 ) / 8
ā ā ā ā ā
n n
y n e e e e e e
j n j n n n
Ļ Ļ Ļ Ļ Ļ Ļ
Note: Take a look at (3), ( )
j Ļ H e is band limited, ( )
j Ļ X e is infinite pulse train. If we
multiply them together, we can only consider those pulses falling into the band
three pulses falling into the band ( ) 16
ā , so we get
(a)
1 1 1 2 1 1 12 1 1 2 1 3
2
ā ā ā ā ā ā ā ā
z
z
z
z
z z z
X z
X (z)ās poles are z=-1/2, 2, 3, if it is stable, the ROC is | z |ā( 1 / 2 , 2 )
1 / (^211)
ā ā
=ā ā ā
ā z z z z
A X z z
1 2 1
2
1 =ā
ā ā
=
ā z z
z z
C X z z
1 2 1
3
ā ā
=
ā z z
z z
D X z z
Also, Let 0
ā z at both sides,
X z A B C D z
ā (^) =
(^10)
Thus,
1225
1 1 1 2 1 1 12 1 1 3
ā ā ā ā ā ā ā ā
z z z z z z z
X z
Since the ROC is | z |ā( 1 / 2 , 2 ),
x [ n ]= n + ā un + + ā un + u ā n ā ā u ā n ā
n n n n
Note: To get the inverse Z-Transform of second-order term or multiple order term, we
can use the differentiation property
dz
dX z nx n z
[ ]ā ā (Refer to page122 of textbook for
its proof)
E.g. right side sequence 1 1
ā ā
az
x n a un
n (ROC: | z |>| a |)
1 2
1 1
ā
ā ā
az
az
dz
az
d
na n z
n , So 1 2
1 1
( 1 )
ā
ā ā
ā
az
z na n
n
(c)
1
2
3
ā ā
z
z z z
z z xn X z
1 1
1 4 3
3 2
1 2 1
1
1 3 3
2 2
1 1
1
1
1 1
1
ā ā ā ā ā ā
ā
ā ā ā ā
ā
ā
ā ā
ā
u n a
un a
xn x n x n
un a
z x n a
z a
z a
z z a
az
un a
un a a
z x n a
z a
z z a a a
z a
az
z a z a
az X z
n n
n
n n
a < 1.
(a) As the ROC of X (z) is |z| > 3/4, and the ROC of Y (z) is |z| > 2/3, the ROC of H (z)
should be |z| > 2/3 ;
(b) As the ROC of X (z) is |z| < 1/3, and the ROC of Y (z) is 1/6 < |z| < 1/3, the ROC of
H (z) should be |z| > 1/6 ;
As x (^) c ( t )= sin[ 2 Ļ( 100 t )]and T = 1/400 sec,
[ ] (^)  
[ ] ( ) sin 2 ( 100 ) sin
n x n xc nT nT
As x (^) c ( t )= cos[ 4000 Ļ t ]and  
[ ] cos
x n ,
(a) Let 12 , 000
x [ n ]= xc ( nT )ā T =
(b) T is not unique, for example, 12 , 000
(a) From Nyquist Sampling theorem, to avoid aliasing in the C/D converter, the sampling
frequency Hz Hz T
m s
s
4 2 2 * 5000 10
Ī© = ā„ Ī© = = , so Ts s
4 10
ā ā¤
(b) Hz
f s
cutoff cutoff^10625 2
4 Ī© = Ī© = =
(c) Hz kHz
f s
cutoff cutoff^21012501.^25 2
4 Ī© = Ī© = Ć = =
Note: The relation between digital frequency f and analog frequency Ī© is
f
s
where Ī© (^) s is the sampling frequency, f is in radians.
(a)
j d Xc j Sc j e
Ļ
āĪ© Ī© = Ī© +
Consider sampling, x [ n ]= xc ( nT ), in frequency domain ( refer to Eq4.19 in textbook, P147),
ā
=āā
Ī© = Ī©ā k
c
jT
T
k X j T
Xe
/
ā
=āā
ā
ā
=āā
āĪ©
ā
=āā
Ī©
k
c
j T
k
c
j
k
c
j jT
k
e S j T
k e S j T T
k X j T
Xe Xe
d
d
Ļ Ļ Ī±
Ļ Ī±
Ļ
ĻĻ
Ļ Ļ
(b)
j j d T H e e
/ ( ) 1
Ļ ĻĻ Ī±
ā = +
(c)
Ļ Ļ
Ļ Ļ Ī± Ļ
Ļ
α Ļ Ļ
Ļ Ļ
α Ļ Ļ
Ļ Ļ
Ļ
Ļ
Ļ
Ļ
Ļ Ļ Ļ
Ļ
Ļ
ĻĻ Ļ
Ļ
Ļ
Ļ Ļ
sin( ) sin[( / ) ]
/ ( / )
n T
n T
n
n
hn He e d e e d e d e d
d
d
j jn j d T jn jn j n d T
ā ā
ā ā
ā
ā
ā
if Ļ (^) d = T , [ ] [ 1 ]
( 1 )
sin( ) sin[( 1 ) ] [ ] = + ā ā
= + n n n
n
n
n hn Ī“ αΓ Ļ
Ļ Ī± Ļ
Ļ
if Ļ (^) d = T / 2 ,
Ļ
Ļ Ī“ α Ļ
Ļ Ī± Ļ
Ļ
sin[( 1 / 2 ) ] [ ] ( 1 )
sin( ) sin[( 1 / 2 ) ] [ ] ā
n
n n n
n
n
n hn
y [ n ā 1 ]ā yn + yn + = xn
1 z Y z ā Y z + zY z = X z
ā
(a)
As the poles of H(z) are 0.9, -0.9, ROC includes the unit circle, the system is stable.
(b)
1
()
1 1
1 1
()
1 1
1 1 1
1 1
1 1 1
1
H zH z
z z
z z
j z j z
z z z
j z j z
z z z H z
ap
H z Hapz
ā ā
ā ā
ā ā
ā ā ā
ā ā
ā ā ā
Generalized Linear Phase ā GLP;
Linear Phase ā LP;
(a) As
jw h n n n n H jw we
ā [ ]= 2 Ī“ [ ]+Ī“[ ā 1 ]+ 2 Ī“[ ā 2 ]ā ( )=( 1 + 4 cos ) ,
A ( jw )= 1 + 4 cos w and α = 1 , β= 0 , it is a GLP, but not LP as A ( jw )is not always
nonnegative for all w;
(b) It is not a GLP or LP as it is not a symmetric filter;
(c) As
jw h n n n n H jw we
ā [ ]= Ī“ [ ]+ 3 Ī“[ ā 1 ]+ Ī“[ ā 2 ]ā ( )=( 3 + 2 cos ) ,
A ( jw )= 3 + 2 cos w and α = 1 , β= 0 , it is a GLP and also LP as A ( jw )is always
nonnegative for all w;
(d) As
( / 2 ) [ ] [ ] [ 1 ] ( ) 2 cos( / 2 )
jw h n n n H jw w e
ā =Ī“ +Ī“ ā ā = ,
A ( jw )= 2 cos( w / 2 ) and α = 1 / 2 ,β= 0 , it is a GLP, but not LP as A ( jw )is not always
nonnegative for all w;
(e) As
( / 2 ) [ ] [ ] [ 2 ] ( ) 2 sin
Ļ Ī“ Ī“
ā ā = ā ā ā =
jw h n n n H jw we ,
A ( jw )= 2 sin w and α = 1 , β= Ļ/ 2 , it is a GLP, but not LP as A ( jw )is not always
nonnegative for all w;
The difference equation is: [ ]
4
y [ n ]ā yn ā = xn ā ā xn
Z-Transform: ( )
4
2 2 Y z ā Y zz = X zz ā X z
ā ā
Transfer function:
2
2
ā
ā
z
z
X z
Y z H z
y [ n ]ā 2 y [ n ā 2 ]= 3 x [ n ā 1 ]+ x [ n ā 2 ]
1
1 2 3
1
1 1 1
ā
ā ā ā
ā
ā ā ā
z
z z z
z
z z z H z
(a)
ā 1 z
ā 1 z
x [ n ] y [ n ]
ā 1 z
ā 1 z
y [ n ]
ā 1 z 8
Among the windows in Table7.1 (Page 471), Hanning, Hamming, Blackman can be used
(b)
Hanning: M
Hamming: M
Blackman: M
Note that the estimation is not accurate. We can use MATLAB to find the minimum of
filter order to meet the requirements.