Signal and System HW2 - Solution

Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

Signal and System

Hanyang University
Homework 2 Solution

J. H. Kim

1. (Fourier series of continuous-time signal)



sin πt, 0 ≤ t ≤ 2
(a) x(t) =
0, 2<t≤4

1 2
Z
π
ak = sin(πt)e−ik 2 t dt
4 0
1 2 1 iπt
Z
π
= (e − e−iπt )e−ik 2 t dt
4 0 2i
1 2 iπt(1− k )
Z
2 − e
−iπt(1+ k2 )
= (e )dt
8i 0
k k
!
1 ei2π(1− 2 ) e−i2π(1+ 2 ) 1 1
= +  − −
8i iπ 1 − k2 iπ 1 + k2 iπ 1 − k2 iπ 1 + k2


eiπk e−iπk 1 1
=− − + +
π (8 − 4k) π (8 + 4k) π (8 − 4k) π (8 + 4k)
1 − (−1)k 1 − (−1)k
=− +
π (8 − 4k) π (8 + 4k)
1 − (−1)k

=
π(2 − k)(2 + k)

(b)

x(t − t0 ) ⇐⇒ e−ik T t0
ak
ik 2π t
x(t + t0 ) ⇐⇒ e akT 0

dx(t) 2π
⇐⇒ ik t0 ak
dt T

  
dx(t) −ik 2π t ik 2π
t
 2π
2x(t − t0 ) + 2x(t + t0 ) + 3 = 2 e T 0
+e T 0
+ 3ik ak
dt T
 
2π 2π
= 4 cos k t0 + 3ik ak
T T

1
2. (Fourier series of continuous-time signal)

1
2

−4 − 14 1 4
4

1 sin kπ/8 1 sin kw0 1/4


bk = =
2 kπ 2 kπ

1
2

− 74 − 94 7
4
9
4

ak = (−1)k bk = ejπk bk = ejw0 2k

3. (Fourier series of continuous-time signal)

(a)

X
x(t) = T δ(t − T i)
i=−∞

Z X ∞
1
ak = T δ(t − T i)e−jkw0 t dt
T T
i=−∞
Z
= δ(t)e0 dt = 1
T

(b)

x(t) = 1 = ej0w0 t


1, k = 0
ak = . ˙ . ak = δ[k]
̸ 0
0, k =

(c)

kπ 1  j kπ kπ

ak = cos = e 4 + e−j 4
4 2

kπ 2π π
= kw0 t0 , w0 = = so, t0 = 1
4 T 4

2
using the result of (a)

X
bk = 1 ⇐⇒ y(t) = T δ(t − T i)
i=−∞

1 π 1 π 1 1
ak = · bk e−jk 4 ·(−1) + · bk e−jk 4 ·(1) ⇐⇒ x(t) = g(t + 1) + g(t − 1)
2 2 2 2

∞ ∞
!
1 X X
x(t) = T δ(t + 1 − T i) + T δ(t − 1 − T i)
2
i=−∞ i=−∞

4. (Fourier series of continuous-time signal)

Z ∞
1 2
X
|x(t)| dt = |ak |2
4 T k=−∞
= |a−1 |2 + |a0 |2 + |a1 |2 = 6
= 2|a1 |2 + |a0 |2 =6

1
X π π
x(t) = ak ejkw0 t = a−1 · e−j 2 t + a0 + a1 · ej 2 t
k=−1
 π π

= a1 ej 2 t + e−j 2 t + a0
π
= a1 · cos t + a0
2

x(0) = a−1 + a0 + a1 = 0
. ˙ . a0 = −2a1

Z
1 1
x(t)dt = · 4 · a0 = 2
4 T 4
. ˙ . a0 = 2 a1 = −1

π
x(t) = −2 cos t + 2
2

You might also like