Chapter 1: Problem Solutions: Review of Signals and Systems
Chapter 1: Problem Solutions: Review of Signals and Systems
Chapter 1: Problem Solutions: Review of Signals and Systems
Signals
à Problem 1.1
à Problem 1.2
a) I e1
b) I e1
c) I 0 since the interval of integration does not include the point t 1, where the impulse is
centered.
d) I 1
e) I cos2 0.1
f) I e
g) let
1 t, then t 2 and dt 2d. Substitute in the integral to obtain
2
2 d 2
82
1
3 d
I e3 1
13
3
1 e
2 Solutions_Chapter1[1].nb
à Problem 1.3
Amplitude A 2,
Period T0 0.01 sec , then frequency F0
T0 100Hz 0.1kHz
1
Phase 0
Then the signal can be written as xt 2cos200t.
à Problem 1.4
3 1000t 15
xt 2.5cos
2 0
3 n 15
xn 2.5cos 0
à Problem 1.5
All sinusoids are distinct. In continuous time there is no ambiguity between frequency and signal.
à Problem 1.6
e j 0.1 e j 0.1
2 2
x1 n Frequency Representation
e j 0.1 e j 0.1
3
3
2 2
shift by 2 shift by 2
e j 0.1 e j 0.1
2 2
x2 n Frequency Representation
4 Solutions_Chapter1[1].nb
e j 0.1 e j 0.1
3
3
2 2
shift by 2 shift by 2
e j 0.1 e j 0.1
2 2
x3 n Frequency Representation
e j 0.1 e j 0.1
2 2
x4 n Frequency Representation
Again you see that x1 n and x2 n have the same representation, and the same for x3 n and
x4 n.
à Problem 1.7
The sinusoid xn 3cos1.9n 0.2 has the same samples, since
3cos0.1n 0.2 3cos0.1n 2n 0.2
Solutions_Chapter1[1].nb 5
à Problem 1.8
à Problem 1.9
b) since 1 2ej0.1 2.9672ej0.2098 , then xt 5.9344cos10t 0.2098
c) the signal can be written as xt = ÅÅÅÅ12 sin5 pt + 0.1 p 2 e j ÅÅ4ÅÅ e j10pt + 2 e- j ÅÅÅÅ4Å e-j10pt and therefore
p p
sin5t 0.1cos10t
xt
1
2 4
à Problem 1.10
a)
xt j20 xt
b) xtdt
j20 xt
1
à Problem 1.11
In order to solve this problem we have to decompose the signals into complex exponentials.
a) xt 2cos100t 0.2 ej0.2 ej100t ej0.2 ej100t
6 Solutions_Chapter1[1].nb
magnitude
1 1
50 50 F (Hz)
phase
0.2
50
0.2
50 F (Hz)
This becomes
xt 3 ej0.1 ej100t
3 ej0.1 ej100t
2 2
3
ej0.7 ej110t
3
ej0.7 ej110t
2 2
magnitude
3 3 3 3
2 2 2 2
55 50 50 55 F (Hz)
phase
0.7
0.1
0.1
F (Hz)
0.7
50 50 F (Hz)
phase
1.18
50
1.18
50 F (Hz)
d) xt 2 5ej 4 ej1000t 5 ej2.67795ej1100t
magnitude
2 5
5
phase
2.68 4
F (Hz)
e) xt ej0t j10t j20t
2 e
j10t
2 e 2j e
j20t
2j e
1 1 1 1
This becomes
xt ej0t j10t j
2 ej20t j
2 ej20t
2 e
j10t
2 e 2 e 2 e
1 1 1 1
8 Solutions_Chapter1[1].nb
magnitude
1
1 1 1 1
2 2 2 2
10 5 5 10 F (Hz)
phase
2
F (Hz)
2
à Problem 1.12
Magnitude A
A
2
2
0 0 (rad )
Phase
0
0 (rad )
Referring to the figure above:
a) 0 2
b) 0 2 3
c) 0
Solutions_Chapter1[1].nb 9
d) 0 0.75, since 1000 800 1.25 . We want the frequency to be between and
, we use the fact that this sinusoid has the same samples as 0 2 1.25 0.75.
e) 0 0, since 1000 500 2 and therefore 0 2 2 0.
à Problem 1.13
à Problem 1.14
a) Since
xt ej100t ej100t
2 e
3 j
2 ej120t
2 e
3 j
2 ej120t 2ej150t 2ej150t
magnitude
2
1.5
75 50 50 60 75 F
60
b) The maximum frequency is FMAX 75Hz. Therefore the sampling frequency has to be such that
Fs 150Hz.
à Problem 1.15
The bandwith is 4kHz and therefore the sampling frequency has to be at least Fs 8kHz. This
Systems
à Problem 1.16
If a property is not specified it is assumed Linear, Time Invariant, Causal, BIBO Stable.
b) Non Linear. In fact if you apply superposition:
x1 n S y1 n 2x1 n 1
x2 n S y2 n 2x2 n 1
and therefore
xn x1 n x2 n S yn 2x1 n x2 n 1
which shows that the output is different from y1 n y2 n 2x1 n x2 n 2.
c) Time Varying, due to the time varying coefficient "t". Non BIBO Stable, since xt ut , a
Bounded Input , yields yt tut, a Non Bounded Output;
d) Time Varying,due to the coefficient et ;
e) Non Linear. If xt x1 t x2 t then the output is yt x1 t x2 t
different from y1 t y2 t x1 t x2 t ;
f) Non Causal, since the output at any time t depends on a future input at time t 1;
h) Non Causal since the output at time n depends on a future intput at time n 1;
i) Non Linear (due to the term x2 ). Time Varying (due to the time varying coefficient n). Not BIBO
Stable, since yn nun ... , ie Non Bounded, when the input xn un, a Bounded
input.
à Problem 1.17
a) yn uk0.5nk un k.
k
If n 0:
n n n1
yn 0.5nk 0.5k
10.5
2 0.5n
10.5
k0 k0
If n 2:
n n
yn 0.5nk 0.5k 0.5n 0.5n1
If n 0:
n n n1
yn 0.8k 0.5nk 0.5n 1.6k 0.5n
11.6 1.25 0.5n 2 0.8n
11.6
k0 k0
k0 k0
12.4n
0.5
n 1
12.41
12.41
1.7143 1.2 n
Finally we can write the answer yn 1.7143 1.2n un 1 1.7143 0.5n un.
yn
1
ej0.2n 1.5059ej0.2n0.4585
10.5ej0.2
yn
ej0.2n
j0.2 n1
g) Since xn ej0.2n ej0.2n , using the solution to problem e) above we obtain
yn 1.5059 ej0.2n0.4585 ej0.2n0.4585
3.0118 cos0.2n 0.4585
h) Since xn ej0.2n un ej0.2nun, using the solution to problem f) above we obtain
yn 3.0118cos0.2n 0.4585 cos0.20.5n1 un
3.0118cos0.2n 0.4585 1.2183 0.5n un
à Problem 1.18
à Problem 1.19
à Problem 1.20
We have to check whether or not hn . Recall that the geometric series an if
and only if a 1.
n0
a) 0.5n , then BIBO Stable;
n0
1
b) 0.5n 0.5n 0.5n 0.5n , then BIBO Stable;
n0 n n0 n1
1
c) 0.5n 0.5n 0.5n 0.5n then it is NOT BIBO Stable
n0 n n0 n1
0
d) 0.5n 2n then NOT BIBO Stable
n n0
e)
n , then NOT BIBO Stable
1
n1
f)
n2 , then BIBO Stable
1
n1
g) 1 , then NOT BIBO Stable
z-Transforms
à Problem 1.21
ej0.4 z 1, ie z 1;
1
n n1 zej0.4
1
g) Xz 0.5n zn 0.5n zn 0.5n zn 0.5n zn . See the two series:
z2 , when z 2;
n n0 n1 n0
0.5n zn
1
1
10.5z
z
n1
0.5n zn
1
10.5z 1
z
z0.5 , when |z|>0.5.
n0
Therefore the ROC has to be the intersection of the ROC's, which yields
Xz z2 , ROC: 0.5 z 2
z
z
z0.5
Solutions_Chapter1[1].nb 15
à Problem 1.22
Recall
za ROC: z a
Zan un
z
za ROC: z a
Zan un 1
z
0.5 z 2
g) xn 0.5n un 0.5n un 1, then Xz
z
z0.5
z 1.5z
z2
z2 2.5z1 , ROC:
1.5z 1.5
h) Using the result in g) above, Xz z1
z2 2.5z1
z2 2.5z1
à Problem 1.23
j2.6180 j2.6180
a)
z
Xz
z
2 0.5774e
zej2.0944
0.5774e
therefore
zej2.0944
z z
0.5774ej2.6100
Xz 1 0.5774ej2.6100
z ej2.0944 z ej2.0944
Since z 1 all terms are causal. Therefore
xn n 0.5774ej2.0944n2.6100 un 0.5774ej2.0944n2.6100 un
Combining terms we obtain
xn n 1.0548cos2.0944n 2.6100un
b) Same Xz as in the previous problem, but different ROC. All terms are noncausal, and therefore
xn
n 0.5774ej2.0944n2.6100 un 1 0.5774ej2.0944n2.6100 un 1
and, after combining terms
16 Solutions_Chapter1[1].nb
xn 0.5jej 2 n un 0.5jej 2 n un
Combining terms:
2 un
xn cos
2 n
2 un 1
xn cos
2 n
à Problem 1.24
a) Hz
1
10.5z 1
z
z0.5 Since it is causal, the impulse response is hn 0.5n un
2 2
b) Hz
1
10.5z z2 . Since
z
Hz
zz2 z
1
z2 then Hz 1
1 z
z2 . The
impulse response is anticausal, form the difference equation, therefore the impulse response is
hn n 2n un 1.
1z z 1 2 z z12 z z1 2 1
c) Hz
1z
2
z2 1 . Therefore
z
Hz
zz21
z
z1
1.5 0.5
z1 which leads to
the decomposition Hz 1 1.5 z1 0.5
z z
z1 . Since the difference equation is causal, then
the impulse response is causal, which leads to hn n 1.5un 0.51n un.
2
d) Hz
1z1
1
z2
z
, then
z2 z1 z
Hz z
z2 z1
0.2764
z0.6180 and therefore
0.7236
z1.6180
Hz 0.2764 0.7236
z
z0.6180 . The difference equation is causal and therefore
z
z1.6180
the impulse response is hn 0.27640.6180n un 0.7236 1.6180n un
Solutions_Chapter1[1].nb 17
à Problem 1.25
z
z0.5 , with ROC z 0.5. The unit
a) The system is causal with transfer function Hz
circle is in the ROC and therefore the system is BIBO stable. The impulse response is
hn 0.5n un.
depends from future values only) the ROC is z 0.5 and the impulse response
b) Now Hz 2
12z
z z , same as before. But since it is clearly anticausal (the output
z0.5
hn 0.5n un 1. The system is NOT BIBO Stable, since the unit circle is not within the
ROC.
intersection of z 1 and z 0.5, which is empty. Therefore in this case the output yn
When the system is anticausal, the z-Transform is the same, but with different ROC given by the
à Problem 1.26
a) The difference equation can be implemented in a number of ways, so we have not enough informa-
tion to assess causality or the ROC of the transfer function.
z2z0.5
1
b) The transfer function is Hz
z
12.5z1 z
2
z
z2 2.5z1
z
. The possible
ROC's are the following:
z 2, the system is causal , and NOT BIBO stable, since the unit circle is not in the ROC;
0.5 z 2, the system is non causal, but BIBO Stable, since the unit circle is in the ROC;
z 0.5, the sytem is anticausal, NOT BIBO Stable since the unit circle is not in the ROC.
c) The step response has transfer function
z2z0.5z1
z2
Yz
0.6667
z
2
z1 1.333
z z
Frequency Response
à Problem 1.27
a) the input is a complex exponential with frequency 0.2 and therefore the corresponding
output is yn H0.2ej0.2n . Substituing for the frequency response H we obtain
yn 1.5059ej4585ej0.2n 1.5059ej0.2n0.4585 .
b) Since xn ej0.1 ej0.5n ej0.1 ej0.5n the response is
yn H0.5ej0.1 ej0.5n H0.5ej0.1 ej0.5n . Substituing for H this
yields
yn 0.8944ej0.4636ej0.1 ej0.5n 0.8944ej0.4636ej0.1 ej0.5n
0.4472cos0.5n 0.1495
1
10.5 2 and H0.3 1.2289ej5202 then
c) Since H0
yn 1 2 5 1.2289cos0.3n 0.5 0.5202 which yields
yn 2 6.1443cos0.3n 2.0910;
d) H0 2 and H 0.6667, then yn 2 0.66671n ;
e) H0.2 1.5059ej4585 , therefore
yn 1.5059sin0.2n 0.4585 1.5059cos0.2n 0.4585;
à Problem 1.28
The system has transfer function Hz Zhn Z0.8n un 1.25n un 1. This
yields
Hz
z
z0.8
z
z1.25 , ROC: 0.8 z 1.25
The unit circle is within the ROC therefore the system is stable and it has a Frequency Response
ej ej
H
ej 0.8 .
ej 1.25
Solutions_Chapter1[1].nb 19
à Problem 1.29
given by z 0.5 and the unit circle is NOT in the ROC. As a consequence the system is
2z
The system ha stransfer function Hz
12z
z
z0.5 and it is anticausal.Therefore the ROC is
UNSTABLE and the steady state frequency response does not exist.
à Problem 1.30
Therefore ROC: z 1, the unit circle is NOT in the ROC and the system is NOT stable. Again
The transfer function is Hz
1z1
z
z2 , the system is causal and the poles are on the unit circle.
à Problem 1.31
à Problem 1.32
a) First we have to determine the digital frequency of the disturbance, as 0 2F0 Fs 0.4.
Therefore the filter must have at least two zeros at z1,2 ej0.4 , and its transfer function becomes
20 Solutions_Chapter1[1].nb
b0 z b1 zb2
Hz b0 b1 z1 b2 z2
2
which yields b0 0.7236. Therefore the difference equation of the filter becomes
yn 0.7236xn 0.4472xn 1 0.7236xn
à Problem 1.33
If we keep the same zeros at z1,2 ej0.4 , we add two poles close to the zeros as, say,
p1,2 0.95ej0.4 , then the frequency response becomes more selective. In this way the Transfer
Function becomes
zz1 zz2
zp1 zp 2
z 0.6180z1
2
Hz b0
b0
z2 0.5871z0.9025
In order to have the Frequency Response with H0 1, we need to solve for the coefficient b0
from the equation
b0
10.61801
1
10.58710.9025
which yields b0 0.9518. Finally the difference equation for the filter becomes
yn 0.5871yn 1 0.9025yn 2
0.9518xn 0.5883xn 1 0.9518xn 2
à Problem 1.34
Since xn is periodic with period N, by defintion xn xn N for all n, and therefore
xn xn N 0 for all n. Therefore in this case the difference equation becomes
yn a1 yn 1 a2 yn 2 0
and if the system is stable yn 0 from any initial condition.
a) When N 4 the filter has Transfer Function
z 1
Hz b0
4
z2 a1
za2
The zeros must be the solutions of the equation z4 1, ie z4 ejk2 with k integer. This yields
z ejk2 , for k 0, 1, 2, 3, Therefore the four zeros are z 1, j, 1, j
b) Choose the poles close to the zeros, inside the unit circle, at z , j, , j, with
0 1, close to one.
Solutions_Chapter1[1].nb 21
à Problem 1.35
à Problem 1.36
The digital frequency of the signal we want to enhance is 0 2 1.5 5 0.6 radians.
a) The poles are p1,2 ej0.6 with 0 1, close to one. We can choose any zeros we like,
say z1,2 1 to attenuate the low frequencies ( 0) and the high frequencies ( ).
b) Choose (say) 0.9, and the transfer function becomes
z 1 2
Hz b0
z2 0.5562z0.81
b0 0.0950.
c) The difference equation becomes
yn 0.5562yn 1 0.81yn 2 0.0950xn 0.0950xn 2
à Problem 1.37
a) The filter has zeros at z1,2 j, poles at p1,2 j0.9. Its frequency response is as shown;
b) Notch Filter;
c) yn 0.81yn 2 xn xn 2.
22 Solutions_Chapter1[1].nb
à Problem 1.38
2
a) Period N 3, therefore Xk xnej 3 kn , for k 0, 1, 2. Just substitute for one
2
n0
period as x0 1, x1 2, x2 3 to obtain
X0 6.000, X1 1.5 j0.8660, X2 1.5 j0.8660.
b) Period N 2, then Xk xnej 2 kn x0 1k x1, for k 0, 1. Therefore
1 2
3 3
c) Period N 4, then Xk xnej 4 kn xnjkn , for k 0, 1, 2, 3.
2
n0 n0
Substitute the numerical values of the sequence to obtain X0 X2 0, X1 X3 2 or,
in vector form,
X 0, 2, 0, 2
d) The signal xn cos
4 n is shown below.
| cos 4 n |
1 1
2
n
Plot of xn cos
4 n
The period can be seen by inspection as N 4 and therefore the expansion is of the form
3
1 Xkej
xn 2 kn , with the DFS being
4 k0
3
Xk xnjkn , for k 0, 1, 2, 3
n0
since ej
2 j. Therefore
Solutions_Chapter1[1].nb 23
X 2.4142, 1, 0.4142, 1
à Problem 1.39
1k 0.8
k
Yk
0.21
Xk for k 0, 1. Substitute te numerical values of Xk to obtain
Y 0, 0.5
c) Period N 4, therefore Yk Hk 4 Xk for k 0, 1, 2, 3. This yields
2
jk 0.8
k
Yk
Xk. Substitute for Xk to obtain
0.2j
à Problem 1.40
3
a) The length of the sequence is N 4. Therefore the DFT becomes Xk xnej 4 kn for
2
n0
k 0, 1, 2, 3. Substitute for the sequence to obtain
X 0, 0, 4, 0
3
b) Length N 4, then again Xk xnej 4 kn for k 0, ..., 3 to obtain
2
X 4, 0, 0, 0
n0
2
c) Length N 3, then Xk xk ej
3 kn for n 0, 1, 2. This yields
2
3
d) Length N 4, then again Xk xnej 4 kn for k 0, ..., 3 to obtain
2
n0
24 Solutions_Chapter1[1].nb
X 0, 2, 0, 2
3
e) Length N 4, then again Xk xnej
4 kn for k 0, ..., 3 to obtain
2
3
f) Length N 4, then again Xk xnej
4 kn for k 0, ..., 3 to obtain
2
7
g) Length N 8, then Xk xnej
8 kn for k 0, ..., 7 to obtain
2
à Problem 1.41
Recall the definition X DTFTxn xnejn . Then:
n
a) X 0.8n ejn 0.8n ejn 0.8n ejn . After some simple
1
n n n0
manipulations:
X 0.8n ejn 1 0.8n ejn
1
10.8e j 1
1
10.8e
j
0.36
11.6cos0.64
n0 n0
the unit circle z 1 is within the ROC. Therefore just substitute z ej to obtain:
z1.25 z0.8
j j
X
e
ej 1.25
e
ej 0.8
magnitude X
| X ( ) |
3 3
0.1 0.1
X ( )
0.2
0.1
0.1
0.2
X magnitude and phase
| X ( ) |
3
3
2 4 4 2
X ( )
0.5
0.5
X magnitude and phase
| X ( ) |
2
X ( )
X magnitude and phase
g) xn 1n ejn 0.5ejn 0.5ejn therefore
X
again we split it to preserve the simmetry of the DTFT.
Solutions_Chapter1[1].nb 29
| X ( ) |
X ( )
X magnitude and phase
Fourier Transform
à Problem 1.42
rectt sincF
2 2
1.5 1.5
1 1
0.5 0.5
t
3 2 1 1 2 3 6 4 2 2 4
0.5 0.5
rect2t 0.5sincF2
2 2
1.5 1.5
1 1
0.5 0.5
t
3 2 1 1 2 3 6 4 2 2
0.5 0.5
5 then
c) FTrect5tcos20t FTrect5t
2 e
1
FTrect5t
5 sinc
1 F
FTrect5tcos20t
10 sincF 10
1
10 sincF 10
1
Solutions_Chapter1[1].nb 31
xt X
1.5 0.2
1 0.15
0.5 0.1
t 0.05
0.4 0.2 0.2 0.4
0.5
15 10 5
1 0.05
1.5 0.1
sinc0.1t 10 rect
1.5
1.25
1
0.75
0.5
0.25
t
20 10
0.25 10 20
0.5 0.4 0.2
IFTsinc10F 0.1rect0.1t
g) IFTrect10F 0.1sinc0.1t for the same reasons as in f);
32 Solutions_Chapter1[1].nb
h) Recall that FT t nT0 F0 F kF0 , where F0 1 T0 . Also recall that
An alternative way to arrive at the same inswer is by using the "rep" and "comb" operators. Recall that
FTcombT0 xt F0 repF0 XF
In our case T0 0.1, F0 1 T0 10, xt sinc2t,
XF FTsinc2t 0.5rect0.5F. Therefore
FTcomb0.1sinc2t 10rep10 0.5rect0.5F
i) Again apply duality to obtain
FTrepT0 xt F0 combF0 XF
Therefore FT rectt 2n FTcomb2 rectt 0.5 rep0.5sincF, and
n
therefore
FT rectt 2n 0.5 sinc0.5kF 0.5k
n k
and therefore
FT rectt n sinckF k
n k
But now recall that sinck 0 for all k 0. Also it is easy to see that rectt n 1
n
for all t. Therefore
FT1 F
since all other terms sinckF k , for k 0, in the summation, are zero.
Solutions_Chapter1[1].nb 33
à Problem 1.43
X (F )
1
1 1 F
Sketch the following:
a) x0.01nt 0.01n xt t 0.01n comb0.01xt. There-
n n
fore its Fourier Transform is given by
FT x0.01nt 0.01n 100rep100XF
n
shown below
100rep100 X ( F )
100
100comb100 X ( F )
100
1 0 1 F (Hz )
0.01
c) FTxtcos100t
2 XF 50
1
2 XF 50
1
1
2 X ( F 50) 12 X ( F 50)
1 1
2 2
F (Hz )
50 50
d) Since cos2 100t j100t j200t 2 ej200t then
2
2 e
j100t
2 e 4 e
1 1 1
shown below.
Solutions_Chapter1[1].nb 35
1
2 X ( F ) 14 X ( F 100) 14 X ( F 100)
1
2
1
1 4
4
100 100 F (H
e) From the propertises, FTx5t 5 shown below:
5 X
1 F
1
5 X F5
1
5
5 5 F (Hz )
f) From the properties again, FTx0.1t 10X10F, as shown:
36 Solutions_Chapter1[1].nb
10 10 X 10 F
0 . 1 0. 1 F (Hz )