Académique Documents
Professionnel Documents
Culture Documents
Problems
Q1 Consider the LTI system initially at rest shown below.
S1 S4
x(t) w(t) z(t) + y(t)
h1 (t) w(t) = 2 dz(t)
dt + z(t)
+
S2 S3
v(t) u(t)
h2 (t) h3 (t)
where the differential system S4 is causal, and the impulse responses h1 (t), h2 (t) and h3 (t)
are as shown below.
h1 (t)
1 t
h2 (t)
1 t
h3 (t)
1
1 0.5 t
1
(a) Compute and sketch the overall impulse response h(t) of the system S, i.e. from x(t)
to y(t). Justify all calculations.
SOLUTION First, we compute the impulse response of h4 (t) of S4 .
Step 1
Set up the problem of calculating the impulse response of the differential equation:
dh4 (t)
2 + h4 (t) = δ(t)
dt
Step 2
Find the initial condition of the homogeneous equation at t = 0+ by integrating from
t = 0− to t = 0+ Z 0+
dh4 (τ )
2 dτ = 2h4 (0+ ) = 1
0− dt
1
hence h4 (0+ ) = is our initial condition for homogeneous equation
2
dh4 (t)
2 + h4 (t) = 0
dt
Step 3
1
The characteristic polynomial is p(s) = 2s + 1 and has one zero at s = − , which
2
means that the homogeneous response has the form h4 (t) = Ae−t/2 for t > 0. The
initial condition allows us to determine constant A:
h4 (0+ ) = A = 0.5
So that,
h4 (t) = 0.5e−t/2 u(t)
Next we compute the impulse response of the upper cascade system S1 , S4 , which is
given by h1 (t) ∗ h4 (t)
Adding all three intervals together, we get impulse response of h1 (t) ∗ h4 (t)
2
The impulse response of the lower cascade system S2 and S3 is a triangular func-
tion of height 2 from -1 to 0.
Finally, the total impulse response of the system will be:
REMARK: The impulse response of the system can also be found by using
Fourier Transform technique. In this case the total impulse response will be:
h(t) can be found by taking Inverse F.T. of the above equation, which will turn out
to be the same as calculated earlier.
(b) Is the overall system S in (a) Stable? Is it causal? Justify your answers.
SOLUTION The system is not causal as its impulse response h(t) 6= 0 at negative times.
However, the system is BIBO stable, because the impulse response is absolutely in-
tegrable as shown below:
First part of h(t) between -1 and 1 has a finite area, so we only need to check for t > 1:
Z +∞ Z +∞
−0.5
|h(t)|dt = (e − 1) |e−0.5t |dt = . . . = 2(1 − e−0.5 ) < +∞
1 1
We have
n−N n
X x[k] X x[m − N ]
y1 [n − N ] = = = y1 [n]
n − N − k m=−∞ n − m
k=−∞
3
and
n
X x2 [k]
y2 [n] = x2 [n] = (2)
n−k
k=−∞
• It is unstable. For a given bound |x[n]| < B, the output can not be bounded for
negative n going to −∞. For example, x1 [n] = 1 is a bounded input leading to
the output
n +∞
X 1 X 1
y[n] = = = +∞ (3)
n − k m=0 m
k=−∞
which is unbounded.
• It is causal. To compute y[n], the system only needs past and current values of
the input
(n + 1)x[n], x[n] ≥ 0
(b) y2 [n] =
−(n + 1)x[n], x[n] < 0
SOLUTION • Not time-invariant
• Non-linear
• Unstable
• Non-causal
Q3 Compute the response y[n] of the discrete-time LTI system described by its impulse re-
sponse h[n] = (−2)2 u[−n − 1] + (0.8)n u[n] to the input signal x[n] = u[n] − u[n − 4]. Sketch
x[n],h[n] and y[n]
x[n] h[n]
1
... ...
0 0
1 2 3 4 n 1 2 3 4 5 n
SOLUTION Let us divide the problem into two sub-problems, each with three intervals for n.
Let h+ [n] = (0.8)n u[n], and h− [n] = (−2)n u[−n − 1], so that
4
For 0 ≤ n ≤ 3: Then g[k] = h[k]x[n − k] 6= 0 for k = 0, . . . , n. We get
n n
X X 1 − (0.8)n+1
y[n] = h[k] = 0.8k = = 5[1 − (0.8)n+1 ]
1 − 0.8
k=0 k=0
For n > 2: x[n-k] is zero for k < 0, hence g[k] = h[k]x[n − k] = 0∀k and y[n] = 0.
Q4 (a) Compute the impulse response h[n] of the following causal LTI second-order difference
system initially at rest:
√
y[n] − 0.8 2y[n − 1] = −0.64y[n − 2] + x[n − 1] − x[n − 2]
5
Use initial conditions to compute the coefficients A and B:
3π 3π
ha [−1] = 0 = A(0.8ej 4 )−1 + B(0.8e−j 4 )−1
ha [0] = 1 = A + B
6π
From the first equation, we get B = −ej 4 = jA, and from the second equation:
1 1 1
A= = − j
1+j 2 2
1 1
B= + j
2 2
and the homogeneous response is
1 1 j 3π n 1 1 −j 3π n
ha [n] = −j (0.8e ) +4 +j (0.8e 4 ) u[n]
2 2 2 2
1 −j π j 3π n 1 jπ −j 3π n
= √ e 4 (0.8e ) + √ e
4 4 (0.8e 4 ) u[n]
2 2
( π! )
1 −j j 3π
n 1 n 3π π o
= 2< √ e 4 (0.8e 4 ) u[n] = 2 √ (0.8)n < ej( 4 n− 4 ) u[n]
2 2
√
3π π
= 2(0.8)n cos n− u[n]
4 4
h[n] = ha [n − 1] − ha [n − 2]
√ √
n−1 3π π n−2 3π π
= 2(0.8) cos (n − 1) − u[n − 1] − 2(0.8) cos (n − 2) − u[n − 2]
4 4 4 4
(4)
(b) Compute the response y[n] of the system in (a) to the input signal x[n] shown below.
x[n]
1
-5 -4 -3 -2 -1 2 3 4 5 n
-1
6
SOLUTION The input signal is composed of two time-shifted impulses, i.e., x[n] = δ[n+1]−δ[n−1],
thus
y[n] = h[n + 1] − h[n − 1]
Plug in the values from the eq. 4 to get y[n]
Q5 A periodic signal with period T is said to have a half-wave symmetry if the two halves of
one period of the signal are identical in shape. The signal is “even half-wave symmetry” if
it satisfies the condition x(t ± T /2) = x(t). On the other hand if it satisfies the condition,
x(t ± T /2) = −x(t), then it is said to be “odd half-symmetry symmetry”
Exponential form
Trigonometric form
2 t1 +T
Z
ak = x(t) cos (kω0 t)dt
T t1
T
2 t1 + 2 2 t1 +T
Z Z
= x(t) cos (kω0 t)dt + x(t) cos (kω0 t)dt
T t1 T t1 + T2
(a) Find the trigonometric and exponential form of the FS coefficients of even-symmetry
signal and show that odd-indexed FS harmonics are zero.
SOLUTION Trigonometric form
The odd-indexed FS coefficients are zero. The even-indexed FS coefficients are given
by "Z #
t1 +T /2
4
ak = x(t) cos (kω0 t)dt
T t1
7
Similarly, "Z #
t1 +T /2
4
bk = x(t) sin (kω0 t)dt
T t1
Exponential form
From eq. 5 we can see that the odd-indexed FS coefficients are zero. The even-
indexed FS coefficients are given by
Z t1 + T2
2
X(k) = e−jkω0 dt k = 0, 2, 4, . . .
T t1
(b) Find the trigonometric and exponential form of the FS coefficients of odd-symmetry
signal and show that even-indexed FS harmonics are zero.
SOLUTION Trigonometric form
The even-indexed FS coefficients are zero. The odd-indexed FS coefficients are given
by "Z #
t1 +T /2
4
ak = x(t) cos (kω0 t)dt
T t1
Similarly, "Z #
t1 +T /2
4
bk = x(t) sin (kω0 t)dt
T t1
Exponential form
From eq. 5 we can see that the even-indexed FS coefficients are zero. The odd-
indexed FS coefficients are given by
Z t1 + T2
2
X(k) = e−jkω0 dt k = 1, 3, 5, . . .
T t1
using the results, find the Fourier series for the periodic signal.
-8 -6 -4 -2 0 2 4 6 8 10 12 14 t
-1
8
π
SOLUTION T0 = 8, ω0 = 4 , a0 = 0 (by inspection). Also the signal is odd half-wave symmetric. Hence
Z 2
1 t kπ
ak = cos tdt
2 0 2 4
4 kπ kπ kπ
= 2 2 cos + sin −1 (n odd)
k π 2 2 2
4 kπ kπ
= 2 2 sin −1 (n odd)
k π 2 2
Similarly,
Z 2
1 t kπ
bk = sin tdt
2
0 2 4
4 kπ kπ kπ
= 2 2 sin − cos
k π 2 2 2
4 kπ
= 2 2 sin (n odd)
k π 2
Q6 Find the Fourier transform of the following periodic signal using the convolution property
in Table 4.1
−T −T1 T1 T t
SOLUTION This signal (lets say x(t))is the convolution of two rectangular pulses (e.g. v(t)) of total
width T1 , convoluted with an impulse train of period T:
+∞
X
x(t) = δ(t − kT ) ∗[v(t) ∗ v(t)]
k=−∞
| {z }
p(t)
where
1
v(t) = [u(t + T1 /2) − u(t − T1 /2)]
T1
By the convolution property,
+∞
2π X 2π T1 ω
X(jω) = P (jω)V 2 (jω) = δ(ω − k )T12 sinc2 ( )
T T 2π
k=−∞
+∞
X T12 T1 2π
= 2π sinc2 (k )δ(ω − k )
T T T
k=−∞