SS202B 2015midterm Sol
SS202B 2015midterm Sol
Jung-Woo Choi
[Score table]
∞
(c) Causal? y (t )= ∫ −∞
u (τ + 1) x(t − τ )dτ
∞
y (t ) = u (t + 1) ∗ x(t ) = ∫−∞
u (τ + 1) x(t − τ ) d τ ( * : convolution)
This convolution integral requires the future information of x(t ) (i.e., x(t − τ ) for τ < 0 ) , because
u (τ + 1) ≠ 0 for −1 ≤ τ < 0 Answer: non-causal
∞
(d) Time invariant? y=
[ n] ∑ (1 + (−1)
k = −∞
k
) x[n − k ]
∞
y[n] = ∑ h[k ]x[n − k ],
k = −∞
with h[k ] = 1 + (−1) k
LTI because the output is described by the convolution sum of the input signal. Answer: time-invariant
(2) Let z denotes a complex variable ( z =x + jy =re jθ ). Then the complex conjugate is defined as
z * =x − jy =re − jθ .
=
1 =
1 x − jy
=
z x + jy ( x + jy )( x − jy )
x − jy
=
x2 + y 2 z
z*
2
∴ 1( z) =
z *
jω
(b) [4 pts] Express the magnitude z and phase z of z = in terms of ω .
1 + jω
jω − jω ω2 ω
=z =
zz * = =
1 + jω 1 − jω 1+ ω2 1+ ω2
jω 1 − jω ω 2 + jω ω 1 π
=z = z = tan −1 ( 2 ) tan −1 ( ) or
= − tan −1 (ω ) or cot(ω )
1 + jω 1 − jω 1+ ω2 ω ω 2
[Chapter 2 | 35 points]
(1) [10 pts] For the following pairs of waveforms, use the convolution integral to find the response y (t ) of the
LTI system with impulse response h(t ) to the input x(t ) . Sketch your results.
) at + b , h(=
x(t= t) 4
3 (u (t ) − u (t − 1)) − 13 δ (t − 2) ( a, b : positive real scalar)
- Distributive property:
x(t ) ∗ (h1 (t ) + h2 (t )) = x(t ) ∗ h1 (t ) + x(t ) ∗ h2 (t )
( h1 (t ) = 3 (u (t ) − u (t − 1)), h2 (t ) =
4
− 13 δ (t − 2) )
- Convolution of h1 & h2
∞
x(t ) ∗ h1 (=
t) 4
3 ∫
−∞
x(t − τ )(u (τ ) − u (τ − 1)) d τ
1 1
= 4
3 ∫
0
x(t − τ ) d=
τ 4
3 ∫ [a(t − τ ) + b]d τ
0
τ =1
4 a
= − τ 2 + (at + b)τ
3 2
τ =0
4 a a
= at − + b
3 2
-b/a t
t ) x(t ) ∗ − 3 δ (t − 2)
x(t ) ∗ h2 (= 1
1
= − x(t − 2)
3
1
= − ( a (t − 2) + b )
3
∴ x(t ) ∗ h1 (t ) + x(t ) ∗ h2 (t ) =at + b
(2-1) [10 pts] Find the impulse response h[n] of a system described by the following difference equation with
the condition of initial rest( y[n] =
0 for n < n0 if x[n] =
0 for n < n0 ).
SS 102B Signals & Systems Mid-term Exam Solution (Page 3/7) Name: Prof. Jung-Woo Choi
y[1] − 2
y[0] =δ [1] =0 → y[1] =2
=1
y[1] =δ [2] =0
y[2] − 2 → y[2] =4
=12
y[0] = 1
↔ h[n] =
2n u[n]
y[n] = 2 y[n − 1] for n ≥ 1
(2-2) [10 pts] Determine the frequency response H (e jω ) of the system described in (2-1). [Hint: use the
eigenfunction x[n] = e jω n to find out the response y[n] , and determine the frequency response using this
result.]
x[n] = e jω n
jω jω n
→ H (e jω )(1 − 2e − jω )e jω n =
e jω n
y[n] = H (e )e
1
∴ H (e jω ) =
1 − 2e − jω
[Chapter 3 | 40 pts]
(1) [25 pts] Suppose that the Fourier series coefficients of the signal xT (t ) shown in Figure 3-1 is given by ak .
Figure 3-1
(a) [10 pts] Express the Fourier series coefficients bk of the following signal in terms of ak .
SS 102B Signals & Systems Mid-term Exam Solution (Page 4/7) Name: Prof. Jung-Woo Choi
Figure 3-2
x1=
(t ) x(t ) − 1 , T = 4 (fundamental period)
=[ x1 (t )]
From the linear property of Fourier series expansion: [ x(t )] −
[1]
bk ak ck
1 4 j 0ω0t
[1=] c=k 4 ∫0
1=
e dt 1= for k 0
0 for k ≠ 0
a − 1 for k = 0
b= ak − ck = 0
k
ak for k ≠ 0
(b) [10 pts] Express the Fourier series coefficients bk of the following signal in terms of ak .
Figure 3-3
x(t ) ↔ ak
x1 (t )= x(t ) − x(−t )
∴ bk = ak − a− k
x(−t ) ↔ a− k (flipping)
Another solution: because x(t ) is real, a− k = ak* bk = ak − ak* = 2 Im{ak }
∑
4
∫
2
(c) [5 pts] Let A =
2
x(t ) dt for the curve shown in Fig. 3.1. Express ak in terms of A .
0
k = −∞
∞ ∞
1 A
∫ x(t ) dt= ∑ → ∑ ak =
2 2 2
From Parseval’s relation, ak
T T k = −∞ k = −∞ 4
2π
5π
(a) [5 pts] For the discrete-time periodic signal x[n] =
2 + cos n + 4sin
n , determine the
3 3
fundamental period N of this signal and the Fourier series coefficients ak such that
SS 102B Signals & Systems Mid-term Exam Solution (Page 5/7) Name: Prof. Jung-Woo Choi
∑
jk 2Nπ n
x[n] = ak e .
k=
<N >
2π 5π
x[n] = 2 + cos n + 4sin n
periodic with1
3 3
periodic with 3 periodic with 6
1 j 2 n − j 2 n 4 j 5 n − j 5 n
2π
2π 2π 2π 2π
j 0 n
x[n] =2e + e 6 + e 6 + e 6 −e 6
6
2 2j
a0+ 6 m = 2 , a=
2+ 6 m a=
−2 + 6 m 0.5 , a5+ 6 m = −2 j , a−5+ 6 m = 2 j , ak + 6 m = 0 otherwise
(for arbitrary integer m )
<Note that the Fourier series coefficients of DT signal are periodic with the period N >
1
(b) [10 pts] Suppose that the frequency response of a system is given by H (e jω ) = . Determine the
1 − 2e −6 jω
output y[n] of this system for the input signal x[n] given by (2-(a)).
2π
jk n
jωk n jkω0 n
e= e= e N
is the eigenvector of the LTI system,
a0 = 2, a2 =
0.5, a−2 = 0.5, a1 = 2 j , a−1 =−2 j , a3 = a−3 =
0
π 2π
=ω0 0,= ω1 , ω2
= , ω3 π
=
3 3
1 j 2 n − j 2 n 4 j 5 n − j 5 n
2π 2π 2π 2π 2π
j 0 n
y[n] =(−1)2e 6 + (−1) e 6 + e 6 + (−1) e 6 − e 6 =− x[n]
2
2 j
[Chapter 4 | 5 pts]
∞
Use the Fourier transform analysis equation X ( jω ) = ∫−∞
x(t )e − jωt dt to calculate the Fourier transform of e −2|t −1| .
Problem of HW #6
∞
X ( jω ) = ∫ e −2|t −1|e − jωt dt
−∞
∞ 1
= ∫
1
e −2(t −1) e − jωt dt + ∫ e −2(1−t ) e − jωt dt
−∞
( −2 − jω ) t ∞ 1
e e(2− jω )t
= e + e −2 2
−2 − jω 1 2 − jω −∞
−2 − jω 2 − jω
e e 1 1 4
= e2 + e −2 = e − jω + = e − jω
2 + jω 2 − jω 2 + jω 2 − jω 4 + ω
2
SS 102B Signals & Systems Mid-term Exam Solution (Page 6/7) Name: Prof. Jung-Woo Choi
[Extra Problems] Choose and solve the following problems as you wish.
You can use extra pages to write down your answers.
1. [5 pts] The Fourier series coefficients ak of a periodic signal xT (t ) of period T can be obtained by the
following analysis equation:
1 t0 + T
ak = ∫
T 0
t
xT (t )e − jkω0t dt .
Show that the result of above integral is independent of t0 for the periodic signal xT (t ) .
2. [10 pts] Express the Fourier series coefficients 𝑎𝑎𝑘𝑘 of Figure 3-1 using the Fourier series coefficients 𝑏𝑏𝑘𝑘 of
the following signal. ( ak = f (bk ) )
The signal x4 of Figure 3-1 is the multiplication of y 2 (t ) and periodic square signal shifted by 1
x2 (t ) y 2 (t )r4 (t − 1)
=
where the rectangle function is defined as
1 for − T0 ≤ t < T0
rT (t ) = T T =
( T 4,=
T0 1 in this case).
0 for − 2 < t < −T0 or T0 < t < 2
2T 2T0 sin(kπ / 2)
FS of the rectangular function: rT ↔ d k =0 sinc k
1
sinc( k2 ) =
T T
2
kπ
sinc( k2 ) ( − j ) ≡ d k′
− jk π
e − jkω0
rT (t − 1) ↔ d k = sinc( k2 )=
1 1 k
Time shifting property of FS: 2 e 2 2
SS 102B Signals & Systems Mid-term Exam Solution (Page 7/7) Name: Prof. Jung-Woo Choi
∞
Multiplication – convolution property of FS: yT (t )rT (t − 1) ↔ ∑b
= −∞
k − d ′
∞ ∞
=ak ∑
= b d′
= −∞
k −
1
2 ∑b
= −∞
k − sinc( 2 )(− j )
∞
( =
2m + 1 or 0)
bk − 2 m −1
= bk +
1
2 ∑
m = −∞ j (2m + 1)π
3. [5 pts] Prove the following relation for a real-valued periodic signal xT (t ) and its Fourier series coefficients
ak .
∞ 2
1 T 1 T
2∑ ak
= ∫ xT (t ) dt − ∫ xT (t )dt
2 2
k =1 T 0 T 0
∞
1
T ∫T
= ∑ ak
2 2
From Parseval’s relation, x (t ) dt -- (1)
k = −∞
∞ ∞ −1
∑ ak =a0 + ∑ ak + ∑
2 2 2 2
ak
k = −∞ k =1 k = −∞
∞ ∞
=a0 + ∑ ak + ∑ a− k
2 2 2
=k 1=k 1
∞ ∞
∑ a= a0 + 2∑ ak
2 2 2
k -- (2)
k = −∞ k =1
1
T ∫T
However, a0 = xT (t )dt (from analysis equation with k = 0 ) --(3)
∞ 2
1 T 1 T
∫ + ∑ = ∫ xT (t ) dt
2 2
From (1), (2), (3), xT (t ) dt 2 ak
T 0
k =1 T 0