





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!






SSE 2022 T. H. Han
Fall 2021
Midterm Examination
Problem 1 [1 0 marks]: The output of a discrete-time system is related to its input 𝑥[𝑛] as follows:
𝑐𝑛
, where 𝑎, 𝑏, 𝑐 are real values.
a) Under what condition (if any) of the values 𝑎, 𝑏, 𝑐 are the system causal?
b) Under what condition (if any) of the values 𝑎, 𝑏, 𝑐 are the system memoryless?
Sol)
a) For the system to be causal, we need 𝑏 = 0. (5 points)
b) For the system to be memoryless, we need 𝑏 = 𝑐 = 0. (5 points)
Problem 2 [ 10 marks]: Consider the signal 𝑓(𝑡) represented in the figure below.
Write the signal using a single analytical expression, with the combinations of unit step function
Sol)
a) 𝑓
Problem 3 [ 20 marks]:
A continuous-time linear system 𝐻 with input 𝑥(𝑡) and output 𝑦(𝑡) yields the following
input-output pairs:
𝑗 2 𝑡
𝐻
𝑗 3 𝑡
−𝑗 2 𝑡
𝐻
−𝑗 3 𝑡
a) If 𝑥
1
(𝑡) = cos( 2 𝑡), determine the corresponding output 𝑦
1
(𝑡) for system 𝐻.
(Note: Give your answer as a form of trigonometric function )
Sol)
Since the system is linear,
1
1
2
𝑗 2 𝑡
−𝑗 2 𝑡
𝐻
1
1
2
𝑗 3 𝑡
−𝑗 3 𝑡
) = cos( 3 𝑡) (10 points)
b) If 𝑥
2
(𝑡) = cos( 2 𝑡 − 1 ), determine the corresponding output 𝑦
2
(𝑡) for system 𝐻.
(Note: Give your answer as a form of trigonometric function )
Sol)
We know that 𝑥
2
(𝑡) = cos( 2 𝑡 − 1 ) =
1
2
−𝑗
𝑗 2 𝑡
𝑗
−𝑗 2 𝑡
Using the linearity property, we may once again write
2
1
2
−𝑗
𝑗 2 𝑡
𝑗
−𝑗 2 𝑡
𝐻
2
1
2
−𝑗
𝑗 3 𝑡
𝑗
−𝑗 3 𝑡
) = cos( 3 𝑡 − 1 ) (10 points)
Problem 6 [ 20 marks]: Determine the complete solution for the system described by the
difference equation
if the input is 𝑥[𝑛] = 𝑢[𝑛] and the initial condition is , 𝑦[− 1 ] = 4 , 𝑦[− 2 ] = 8
Sol)
Homogeneous solution:
( ℎ )
1
𝑛
2
𝑛
Particular solution:
(𝑝)
The complete solution has the form:
1
𝑛
2
𝑛
Translating the initial conditions.
Therefore,
1
0
2
0
1
1
2
1
1
2
1
2
1
2
(𝑐)
𝑛
Problem 7 [ 10 marks]: Let 𝑥[𝑛] be a real and odd periodic signal with period 𝑁 = 7 and
Fourier coefficients 𝑋[𝑘]. Given that 𝑋[ 15 ] = 𝑗, 𝑋[ 16 ] = 3 𝑗, 𝑋[ 17 ] = 5 𝑗. Determine the values
of 𝑋[− 1 ], 𝑋[− 2 ], and 𝑋[− 3 ].
Sol)
Since the Fourier series coefficients repeat every 𝑁. we have
, 𝑋[ 2 ] = 𝑋[ 16 ], and 𝑋[ 3 ] = 𝑋[ 17 ].
Furthermore, since the signal is real and odd, the Fourier series coefficients 𝑋[𝑘] will be purely
imaginary and odd. Therefore, 𝑋[− 1 ] = −𝑋[ 1 ] = −𝑗, 𝑋[− 2 ] = −𝑋[ 2 ] = − 3 𝑗, and 𝑋[− 3 ] =
Problem 9 [ 25 marks]:
𝑝
(𝑡). Both signals are
depicted in the figure below. 𝑦
𝑝
Given only the information above we want to calculate the system’s response input 𝑥(𝑡) depicted
in the figure below. Let’s break down the problem into two parts.
(a) Note that 𝑥(𝑡) can be written as a sum of scaled and time-shifted versions of 𝑝(𝑡). In
particular, 𝑥(𝑡) = 𝑎𝑝(𝑡) + 𝑏𝑝(𝑡 −𝑡
0
). Find the adequate values of 𝑎, 𝑏 and 𝑡
0
Sol) 𝑥
− 𝑝(𝑡), therefore
0
(b) Using the functions in MATLAB, fill the blank to find the 𝐻{𝑥(𝑡)} = 𝑦
𝑥
(𝑡) for
− 10 < 𝑡 < 10 with sampling interval of 0.01 and plot the signals.
1 clear all
2
3 t = ________; % set the range of t
4 pt = ________; % define pulse input p(t)
5
6
pt_t0 = ________;
xt = ________;
% define time shifting of p(t) by 𝑡
0
% define 𝑥(𝑡) = 𝑎𝑝(𝑡) + 𝑏𝑝(𝑡 −𝑡
0
)
7
8
plot(t, xt); % plot the signal of x(t)
9 ypt = ________; % define 𝐻{𝑝(𝑡)} = 𝑦
𝑝
(𝑡)
10
11
subplot(2, 1, 1); ________; % plot the 𝑦
𝑝
( 𝑡
) signal in a figure
12
13
ypt_t0 = ________; % define time shifting of 𝑦
𝑝
(𝑡) by 𝑡
0
14 yxt = ⑧________;
% define the 𝑦
𝑥
(𝑡) form of 𝑦
𝑝
(𝑡)
15 subplot(2, 1, 2 ); ⑨________;
% plot the 𝑦
𝑥
(𝑡) signal together in a figure
Sol)
② 1.((t>=0)&(t<1));*
③ 1 .((t >= - 1 ) & (t < 0 ));*
④ - pt+ 1 .pt_t0;*
⑤ t.((t>=0)&(t<1)) - (t-2).((t>=1)&(t<2));**
⑥ plot(t, ypt)
⑦ (t+1). ((t>=-1)&(t<0)) - (t-1).((t>=0)&(t<1));**
⑧ - ypt+ 1 .ypt_t0;*
⑨ plot(t, yxt)