Final Fall 23
Final Fall 23
NAME: GTemail:
FIRST LAST ex: [email protected]
𝐴𝐴 = 𝐵𝐵 =
(b) Find the smallest value of 𝑀𝑀 for 𝑀𝑀 > 0 such that following equation is true for all time 𝑡𝑡.
𝑀𝑀
𝜋𝜋 𝑘𝑘𝑘𝑘
cos(67𝜋𝜋𝜋𝜋) = −cos �67𝜋𝜋𝜋𝜋 − � + � cos �67𝜋𝜋𝜋𝜋 − �
6 6
𝑘𝑘=0
𝑀𝑀 =
(c) The Fourier series coefficients of the periodic signal 𝑥𝑥(𝑡𝑡) below can be found with the following equation:
1 𝑇𝑇
𝑎𝑎𝑘𝑘 = � 𝑥𝑥(𝑡𝑡) 𝑒𝑒 −𝑗𝑗2𝜋𝜋𝜋𝜋𝑓𝑓𝑜𝑜𝑡𝑡 𝑑𝑑𝑑𝑑
𝑇𝑇 0
4
0
x(t)
-8
0 5 10 15 20 25 30 35 40 45 50 55 60 65 70 75
Time(sec)
𝑓𝑓0 = 𝑎𝑎0 =
2
Print Name (First Last) _______________________________
PROBLEM 2: Parts a, b, and c (5 points each) can be solved independently of each other.
Consider the following system where the continuous-time input 𝑥𝑥(𝑡𝑡) is sampled to produce 𝑥𝑥[𝑛𝑛] which is processed through
the LTI system to produce 𝑦𝑦[𝑛𝑛] before being reconstructed to yield an overall output 𝑦𝑦(𝑡𝑡)
𝑦𝑦[𝑛𝑛] =
𝑦𝑦(𝑡𝑡) =
(c) Find 𝑓𝑓𝑠𝑠 > 30 so that 𝑦𝑦(𝑡𝑡) has the form 𝑦𝑦(𝑡𝑡) = 𝐴𝐴 + 𝐵𝐵 cos(20𝜋𝜋𝜋𝜋 + 𝜑𝜑). Furthermore, specify the constants 𝐴𝐴, 𝐵𝐵, and 𝜑𝜑
(where in standard form 𝐵𝐵 > 0 and |𝜑𝜑| < 𝜋𝜋).
𝐴𝐴 = 𝐵𝐵 = 𝜑𝜑 = 𝑓𝑓𝑠𝑠 =
3
Print Name (First Last) _______________________________
PROBLEM 3: Parts a, b, and c (5 points each) can be solved independently of each other.
Two causal LTI systems are connected in cascade as shown in the figure below:
2𝜋𝜋
�1−0.7 cos� 3 �𝑧𝑧 −1 �
LTI System #2: 𝐻𝐻2 (𝑧𝑧) = 2𝜋𝜋
1−1.4 cos� 3 �𝑧𝑧 −1 +0.49𝑧𝑧 −2
(a) Is 𝐻𝐻2 (𝑧𝑧) a stable LTI system?
Stable? YES or NO (Circle one and explain below. Explanation required for any credit)
ℎ2 [𝑛𝑛] =
(c) Suppose that 𝑦𝑦[𝑛𝑛] = 6𝛿𝛿[𝑛𝑛 − 1] when 𝑥𝑥[𝑛𝑛] = 𝛿𝛿[𝑛𝑛]. Find the difference equation for LTI System #1 in terms of the
output 𝑣𝑣[𝑛𝑛] and the input 𝑥𝑥[𝑛𝑛] under this condition.
𝑣𝑣[𝑛𝑛]=
4
Print Name (First Last) _______________________________
PROBLEM 4: Parts a, b, and c (10 points each) can be solved independently of each other.
𝑧𝑧 −3 (3+5𝑧𝑧 −2 )
(a) If 𝐻𝐻 (𝑧𝑧) = , find ℎ[6].
1−0.6𝑧𝑧 −1
ℎ [ 6] =
𝑦𝑦[𝑛𝑛] =
5000
(c) Consider the MATLAB code below for the spectrogram plot 4500
4000
shown to the right over the range of 0 to 1.2 seconds. 3500
tt=0:1/fs:1.2; 3000
FREQUENCY (Hz)
xx = pi*cos(A*(pi*tt.^4+pi.*tt)); 2500
plotspec(xx,fs,256) 2000
1500
From the plot, determine numerical values for fs and A. The 1000
𝐟𝐟𝐟𝐟 = 𝐀𝐀 = 𝐾𝐾 =
5
Print Name (First Last) _______________________________
PROBLEM 5: 10 points
Match the plots (1)-(8) for 𝑥𝑥[𝑛𝑛] below with the plots for the corresponding 48-point DFT magnitudes |𝑋𝑋[𝑘𝑘]| by placing the
appropriate number in the boxes besides the plots for |𝑋𝑋[𝑘𝑘]|.
𝑥𝑥[𝑛𝑛] |𝑋𝑋[𝑘𝑘]|
0 24 47
0 24 47
0 24 47
0 24 47
0 24 47
0 24 47
0 24 47
0 24 47
6
Print Name (First Last) _______________________________
PROBLEM 6: 15 points
Shown below on the left are twelve pole-zero plots for 𝐻𝐻(𝑧𝑧), labeled A through L. Shown below on the right are the
corresponding magnitude responses, �𝐻𝐻�𝑒𝑒 𝑗𝑗𝜔𝜔� �� plotted vs 𝜔𝜔
�, but in a scrambled order. Match each magnitude response to
its corresponding pole-zero plot. Indicate answers by writing a letter (from A through L) in to each answer box.
7
GEORGIA INSTITUTUE OF TECHNOLOGY
SCHOOL OF ELECTRICAL AND COMPUTER ENGINEERING
NAME: GTemail:
FIRST LAST ex: [email protected]
𝐴𝐴 = 5 𝐵𝐵 = 11
(b) Find the smallest value of 𝑀𝑀 for 𝑀𝑀 > 0 such that following equation is true for all time 𝑡𝑡.
𝑀𝑀
𝜋𝜋 𝑘𝑘𝑘𝑘
cos(67𝜋𝜋𝜋𝜋) = −cos �67𝜋𝜋𝜋𝜋 − � + � cos �67𝜋𝜋𝜋𝜋 − �
6 6
𝑘𝑘=0
𝜋𝜋 𝑘𝑘𝑘𝑘
Set: − cos(67𝜋𝜋𝜋𝜋) − cos �67𝜋𝜋𝜋𝜋 − 6 � + ∑𝑀𝑀
𝑘𝑘=0 cos �67𝜋𝜋𝜋𝜋 − �=0
6
𝑘𝑘𝑘𝑘
We know that: ∑11
𝑘𝑘=0 cos �67𝜋𝜋𝜋𝜋 − � = 0; (using phasor addition) So we need to account for the terms
6
𝜋𝜋
cos(67𝜋𝜋𝜋𝜋) + cos �67𝜋𝜋𝜋𝜋 − �.
6
𝑗𝑗12𝜋𝜋 𝑗𝑗13𝜋𝜋
𝜋𝜋
Using phasor addition we see that: cos(67𝜋𝜋𝜋𝜋) + cos �67𝜋𝜋𝜋𝜋 − � → 𝑒𝑒 − 6 + 𝑒𝑒 − 6 . Therefore: M=13
6
𝑀𝑀 = 13
(c) The Fourier series coefficients of the periodic signal 𝑥𝑥(𝑡𝑡) below can be found with the following equation:
1 𝑇𝑇
𝑎𝑎𝑘𝑘 = � 𝑥𝑥(𝑡𝑡) 𝑒𝑒 −𝑗𝑗2𝜋𝜋𝜋𝜋𝑓𝑓𝑜𝑜𝑡𝑡 𝑑𝑑𝑑𝑑
𝑇𝑇 0
4
0
x(t)
-8
0 5 10 15 20 25 30 35 40 45 50 55 60 65 70 75
Time(sec)
1 4
𝑓𝑓0 = 𝑎𝑎0 = − = −0.8
25 5
2
Print Name (First Last) _______________________________
PROBLEM 2: Parts a, b, and c (5 points each) can be solved independently of each other.
Consider the following system where the continuous-time input 𝑥𝑥(𝑡𝑡) is sampled to produce 𝑥𝑥[𝑛𝑛] which is processed through
the LTI system to produce 𝑦𝑦[𝑛𝑛] before being reconstructed to yield an overall output 𝑦𝑦(𝑡𝑡)
(c) Find 𝑓𝑓𝑠𝑠 > 30 so that 𝑦𝑦(𝑡𝑡) has the form 𝑦𝑦(𝑡𝑡) = 𝐴𝐴 + 𝐵𝐵 cos(20𝜋𝜋𝜋𝜋 + 𝜑𝜑). Furthermore, specify the constants 𝐴𝐴, 𝐵𝐵, and 𝜑𝜑
(where in standard form 𝐵𝐵 > 0 and |𝜑𝜑| < 𝜋𝜋).
𝑦𝑦(𝑡𝑡) = 𝐴𝐴 + 𝐵𝐵 cos(20𝜋𝜋𝜋𝜋 + 𝜑𝜑)
The highest frequency is 15 Hz so 𝑓𝑓𝑠𝑠 > 30 and the 32 Hz signal from x(t) is now missing so 𝑓𝑓𝑠𝑠 < 64.
Additional information is the presence of a DC term (A). This implies that the 32Hz signal is DC. Given the
restrictions on 𝑓𝑓𝑠𝑠 , the sample rate that can work is 𝑓𝑓𝑠𝑠 = 32.
30𝜋𝜋𝜋𝜋 64𝜋𝜋𝜋𝜋 𝜋𝜋 15𝜋𝜋𝜋𝜋 𝜋𝜋 15𝜋𝜋𝑛𝑛 𝜋𝜋
𝑥𝑥[𝑛𝑛] = cos � � + cos � + � = cos � � + cos �2 𝜋𝜋𝜋𝜋 + � = cos � � + cos � �
32 32 3 16 3 16 3
15𝜋𝜋
𝑗𝑗𝜔𝜔
�� −𝑗𝑗4𝜔𝜔
�( 𝑗𝑗� � 𝑗𝑗0.25𝜋𝜋 𝑗𝑗(0)
𝐻𝐻�𝑒𝑒 = 𝑒𝑒 16 cos(4𝜔𝜔
� ) − 2) → 𝐻𝐻 �𝑒𝑒 16 � = 9.31𝑒𝑒 ; 𝐻𝐻�𝑒𝑒 � = 14
𝜋𝜋
𝑦𝑦(𝑡𝑡) = 8 ∗ cos � � + 6.1 cos(20𝜋𝜋𝜋𝜋 + 0.1818𝜋𝜋) = 7 + 9.31 cos(20𝜋𝜋𝜋𝜋 + 0.25𝜋𝜋)
3
3
Print Name (First Last) _______________________________
PROBLEM 3: Parts a, b, and c (5 points each) can be solved independently of each other.
Two causal LTI systems are connected in cascade as shown in the figure below:
2𝜋𝜋
�1−0.7 cos� 3 �𝑧𝑧 −1 �
LTI System #2: 𝐻𝐻2 (𝑧𝑧) = 2𝜋𝜋
1−1.4 cos� 3 �𝑧𝑧 −1 +0.49𝑧𝑧 −2
(a) Is 𝐻𝐻2 (𝑧𝑧) a stable LTI system?
Stable? YES or NO (Circle one and explain below. Explanation required for any credit)
All poles are inside the unit circle
2𝜋𝜋
ℎ2 [𝑛𝑛] = (0.7)𝑛𝑛 cos � 𝑛𝑛� 𝑢𝑢[𝑛𝑛]
3
(c) Suppose that 𝑦𝑦[𝑛𝑛] = 6𝛿𝛿[𝑛𝑛 − 1] when 𝑥𝑥[𝑛𝑛] = 𝛿𝛿[𝑛𝑛]. Find the difference equation for LTI System #1 in terms of the
output 𝑣𝑣[𝑛𝑛] and the input 𝑥𝑥[𝑛𝑛] under this condition.
2𝜋𝜋
�1−0.7 cos� 3 �𝑧𝑧 −1 �
IF: 𝐻𝐻2 (𝑧𝑧) = 2𝜋𝜋 and 𝑌𝑌(𝑧𝑧) = 6𝑧𝑧 −1 = 𝑋𝑋(𝑧𝑧)𝐻𝐻1 (𝑧𝑧)𝐻𝐻2 (𝑧𝑧) for 𝑋𝑋(𝑧𝑧) = 1
1−1.4 cos� 3 �𝑧𝑧 −1 +0.49𝑧𝑧 −2
2𝜋𝜋
6𝑧𝑧 −1 6𝑧𝑧 −1 6𝑧𝑧 −1 �1+0.7 cos� 3 �𝑧𝑧 −1 +0.49𝑧𝑧 −2 � 6𝑧𝑧 −1 +4.2𝑧𝑧 −2 +2.94𝑧𝑧 −3
Then: 𝐻𝐻1 (𝑧𝑧) = = 2𝜋𝜋 = 2𝜋𝜋 =
𝐻𝐻2 (𝑧𝑧) �1−0.7 cos� 3 �𝑧𝑧−1� �1−0.7 cos� �𝑧𝑧 −1 � 1+0.35𝑧𝑧 −1
3
2𝜋𝜋 −1
1−1.4 cos� �𝑧𝑧 +0.49𝑧𝑧−2
3
4
Print Name (First Last) _______________________________
PROBLEM 4: Parts a, b, and c (10 points each) can be solved independently of each other.
𝑧𝑧 −3 (3+5𝑧𝑧 −2 )
(a) If 𝐻𝐻 (𝑧𝑧) = , find ℎ[6].
1−0.6𝑧𝑧 −1
𝑧𝑧−3 (3+5𝑧𝑧−2) 3 5
From Table : 𝐻𝐻 (𝑧𝑧) = = 𝑧𝑧 −3 + 𝑧𝑧 −5
1−0.6𝑧𝑧−1 1−0.6𝑧𝑧 −1 1−0.6𝑧𝑧 −1
→ ℎ[𝑛𝑛] = 3(0.6)𝑛𝑛−3 𝑢𝑢[𝑛𝑛 − 3] + 5(0.6)𝑛𝑛−5 𝑢𝑢[𝑛𝑛 − 5]
→ ℎ[6] = 3(0.6)3 + 5(0.6) = 3.648
ℎ[6] = 3.648
𝜋𝜋
→ 𝑦𝑦[𝑛𝑛] = 12 cos � 𝑛𝑛�
2
𝜋𝜋
𝑦𝑦[𝑛𝑛] = 12 cos � 𝑛𝑛�
2
5000
(c) Consider the MATLAB code below for the spectrogram plot 4500
4000
shown to the right over the range of 0 to 1.2 seconds. 3500
tt=0:1/fs:1.2; 3000
FREQUENCY (Hz)
xx = pi*cos(A*(pi*tt.^4+pi.*tt)); 2500
plotspec(xx,fs,256) 2000
1500
From the plot, determine numerical values for fs and A. The 1000
5
Print Name (First Last) _______________________________
PROBLEM 5: 10 points
Match the plots (1)-(8) for 𝑥𝑥[𝑛𝑛] below with the plots for the corresponding 44-point DFT magnitudes |𝑋𝑋[𝑘𝑘]| by placing the
appropriate number in the boxes besides the plots for |𝑋𝑋[𝑘𝑘]|.
𝑥𝑥[𝑛𝑛] |𝑋𝑋[𝑘𝑘]|
1 6
0 24 47
2 2
0 24 47
3 3
0 24 47
4 4
0 24 47
5 8
0 24 47
6 1
0 24 47
7 5
0 24 47
8 7
0 24 47
6
Print Name (First Last) _______________________________
PROBLEM 6: 15 points
Shown below on the left are twelve pole-zero plots for 𝐻𝐻(𝑧𝑧), labeled A through L. Shown below on the right are the
corresponding magnitude responses, �𝐻𝐻�𝑒𝑒 𝑗𝑗𝜔𝜔� �� plotted vs 𝜔𝜔
�, but in a scrambled order. Match each magnitude response to
its corresponding pole-zero plot. Indicate answers by writing a letter (from A through L) in to each answer box.
7
Print Name (First Last) _______________________________