Final Summer 18
Final Summer 18
NAME:
Important Notes:
• Do not unstaple the test.
• Closed book and notes, except for three double-sided pages (8.5” £11”) of hand-written notes.
• Calculators are allowed, but no smartphones/WiFI/etc.
• JUSTIFY your reasoning CLEARLY to receive partial credit.
• Express all angles as a fraction of p. For example, write 0.1p as opposed to 18° or 0.3142 radians.
• You must write your answer in the space provided on the exam paper itself.
Only these answers will be graded. Circle your answers, or write them in the boxes provided.
If more space is needed for scratch work, use the backs of the previous pages.
1 10
2 15
3 15
4 15
5 15
6 10
7 20
TOTAL: 100
PROB. Su18-Fin.1.
1–j 1+j
1.5
.. .
1
. ..
0.5
–0.5
–1
–1.5
The sum of these three signals can be written as x1( t ) + x2( t ) + x3( t ) = Acos(100pt + j),
where A= and j= .
PROB. Su18-Fin.2.
Suppose the output of a linear and time-invariant discrete-time filter in response to a finite-length
input of x[ n ] = f... 0 0 2 2 2 2 0 0 ... g is y[ n ] = f... 0 0 1 2 3 3 2 1 0 0 ... g, as shown below:
y[ n ]
x[ n ] LTI y[ n ] 3 3
x[ n ] SYSTEM
2 2
2
1 1
1
n n
0 5 0 5
h[ 0 ] = , h[ 1 ] = , h[ 2 ] = , h[ 3 ] = , h[ 4 ] =
PROB. Su18-Fin.3.
Consider the following system in which a continuous-time input x( t ) is sampled, producing x[ n ], then
filtered, producing y[ n ], and finally converted back to continuous time, yielding an overall output y( t ):
SAMPLE RATE fs
(a) Which of the plots (A... H) on the next page shows the magnitude response of this filter?
(b) A constant input x( t ) = 1 (for all t) will result in the constant output y( t ) = (for all t).
–p 0 p w
^ –p 0 p w
^
–p 0 p w
^ –p 0 p w
^
–p 0 p w
^ –p 0 p w
^
–p 0 p w
^ –p 0 p w
^
PROB. Su18-Fin.4.
is y[ n ] = cos(0.7pn + q),
y[ n ] = x[ n ] – 0.2y[n – 1].
(a) The system is [ IIR ][ FIR ] (circle one).
(c) Sketch below the pole-zero plot for H( z ), carefully labeling the locations of all zeros and poles:
Imfz g
Refz g
)
LE
C
IR
C
IT
N
(U
Shown below are eleven different outcomes that result from executing the MATLAB code:
stem(abs(fft(ones(1,L),N)));
Match each plot with the corresponding values for the variables N and L by writing a letter
(A through K) in each answer box.
B L = 2, N = 21
L = 2, N = 81
C
L = 3, N = 21
D
L = 3, N = 81
E
L = 4, N = 21
F L = 4, N = 81
L = 5, N = 21
G
L = 5, N = 81
H
L = 8, N = 81
I
L = 21, N = 21
J
L = 21, N = 81
K
PROB. Su18-Fin.7. (The different parts are unrelated.)
(a) There are an infinite number of values for the delay parameter t0 below such that:
t0 = , or t0 = .
(d) If fX[ 0 ], ... X[ 511]g are the DFT coefficients that result from taking a 512-point DFT
of the length-12 signal x[ n ] = [1 1 1 2 2 2 3 3 3 4 4 4] for n2f0, ... 11g,
then find numerical values for the following two DFT coefficients:
X[ 0 ] = ,
X[ 256] = .
Table of DTFT Pairs
ıŒn 1
ıŒn n0 e j !n
O 0
sin. 21 L!/
O j !.L
O 1/=2
uŒn uŒn L e
sin. 21 !/
O
(
sin.!O b n/ 1 j!j
O !O b
u.!O C !O b / u.!O !O b / D
n 0 !O b < j!j
O
1
an uŒn .jaj < 1/ j !O
1 ae
Conjugation x Œn X .e j !O /
Time-Reversal xŒ n X.e j !O /
j !d
O
Delay (d =integer) xŒn d e X.e j !O /
Date: 28-Apr-2013
Table of Pairs for N -point DFT
ıŒn 1
Impulse ıŒn 1
n0
Shifted impulse ıŒn n0 z
1
Right-sided exponential an uŒn 1
; jaj < 1
1 az
1 r cos.!O 0 /z 1
Decaying cosine r n cos.!O 0 n/uŒn
1 2r cos.!O 0 /z 1 C r 2 z 2
1
cos.'/ r cos.!O 0 '/z
Decaying sinusoid Ar n cos.!O 0 n C '/uŒn A
1 2r cos.!O 0 /z 1 C r 2 z 2
d
Delay (d =integer) xŒn d z X.z/
Date: 28-April-2013
GEORGIA INSTITUTE OF TECHNOLOGY
SCHOOL OF ELECTRICAL AND COMPUTER ENGINEERING
ANSWER KEY
NAME:
Important Notes:
• Do not unstaple the test.
• Closed book and notes, except for three double-sided pages (8.5” £11”) of hand-written notes.
• Calculators are allowed, but no smartphones/WiFI/etc.
• JUSTIFY your reasoning CLEARLY to receive partial credit.
• Express all angles as a fraction of p. For example, write 0.1p as opposed to 18° or 0.3142 radians.
• You must write your answer in the space provided on the exam paper itself.
Only these answers will be graded. Circle your answers, or write them in the boxes provided.
If more space is needed for scratch work, use the backs of the previous pages.
1 10
2 15
3 15
4 15
5 15
6 10
7 20
TOTAL: 100
PROB. Su18-Fin.1.
1–j 1+j
) X2 = 2 2e j0.25p
1.5 1.5
) x3( t ) = 1.5cos(100p(t – t0))
.. .
1
) X3 = 1.5e –j100p t0
. ..
= 1.5e–j0.25p
0.5
–0.5
t0
–1
–1.5
The sum of these three signals can be written as x1( t ) + x2( t ) + x3( t ) = Acos(100pt + j),
Aejj = X1 + X2 + X3
Suppose the output of a linear and time-invariant discrete-time filter in response to a finite-length
input of x[ n ] = f... 0 0 2 2 2 2 0 0 ... g is y[ n ] = f... 0 0 1 2 3 3 2 1 0 0 ... g, as shown below:
y[ n ]
x[ n ] LTI y[ n ] 3 3
x[ n ] SYSTEM
2 2
2
1 1
1
n n
0 5 0 5
h[ 0 ] = 0 , h[ 1 ] =
0.5 , h[ 2 ] =
0.5 , h[ 3 ] =
0.5 , h[ 4 ] = 0
y[ n ] = Skh[k]x[n – k]
2
But y[ 0 ] = 0 ) 0 = h[ 0 ] x[ 0 ] = 2h[ 0 ] ) h[ 0 ] = 0
0 2 2
y[ 1 ] = 1 ) 1 = h[ 0 ] x[ 1 ] + h[ 1 ] x[ 0 ] = 2h[ 1 ] ) h[ 1 ] = 0.5
0 0.5 2 2
y[ 2 ] = 2 ) 2 = h[ 0 ] x[2] + h[ 1 ] x[ 1 ] + h[ 2 ] x[ 0 ] = 1 + 2h[ 2 ]
) h[ 2 ] = 0.5
0.5 2 0.5 2 2
y[ 3 ] = 3 = h[ 1 ] x[ 2 ] + h[ 2 ] x[ 1 ] + h[ 3 ] x[ 0 ] = 2 + 2h[ 3 ]
) h[ 3 ] = 0.5
0.5 2 0.5 2 0.5 2 2
y[ 4 ] = 3 = h[ 1 ] x[ 3 ] + h[ 2 ] x[ 2 ] + h[ 3 ] x[ 1 ] + h[ 4 ] x[ 0 ]
) h[ 4 ] = 0
PROB. Su18-Fin.3.
Consider the following system in which a continuous-time input x( t ) is sampled, producing x[ n ], then
filtered, producing y[ n ], and finally converted back to continuous time, yielding an overall output y( t ):
SAMPLE RATE fs
(a) Which of the plots (A... H) on the next page shows the magnitude response of this filter?
C
Recognize this as a nulling filter, where –2cos( w
^ ) = –1
) look for nulls at w
^ = ±p/3
(b) A constant input x( t ) = 1 (for all t) will result in the constant output y( t ) = 1 (for all t).
^ 1 = 10p 5p –p
) w --------- = ------ = ------ + 2p
fs 3 3
both reduce to w
^ = ±p/3 ) both nulled
^ 2 = 14p
) w ------ = p
--------- = 7p --- + 2p
fs 3 3
E
–p 0 p w
^ –p 0 p w
^
–p 0 p w
^ –p 0 p w
^
NULL at p/3
G
–p 0 p w
^ –p 0 p w
^
–p 0 p w
^ –p 0 p w
^
PROB. Su18-Fin.4.
is y[ n ] = cos(0.7pn + q),
y[ n ] = x[ n ] – 0.2y[n – 1].
(a) The system is [ IIR ][ FIR ] (circle one).
1
(b) The system transfer function is H( z ) = -------------------------- .
1 + 0.2z – 1
(c) Sketch below the pole-zero plot for H( z ), carefully labeling the locations of all zeros and poles:
Imfz g
z -:
H ( z ) = -----------------
z + 0.2
Refz g
)
LE
C
IR
C
IT
N
(U
æ 1 + ----- B –1 ö
ç -z ÷
1
Y( z ) = X( z )H( z ) = (10 + Bz–1) -------------------------- = 10 ç -------------------------
10
-÷
1 + 0.2z – 1 ç
è 1 + 0.2z
– 1÷
ø
B
But Y( z ) = 10 ) ------ = 0.2 ) B=2
10
PROB. Su18-Fin.6.
Shown below are eleven different outcomes that result from executing the MATLAB code:
stem(abs(fft(ones(1,L),N)));
Match each plot with the corresponding values for the variables N and L by writing a letter
(A through K) in each answer box.
B L = 2, N = 21 B
L = 2, N = 81 E
C
L = 3, N = 21 A
D
L = 3, N = 81 K
E
L = 4, N = 21 F
F L = 4, N = 81 H
L = 5, N = 21 G
G
L = 5, N = 81 C
H
L = 8, N = 81 J
I
L = 21, N = 21 D
J
L = 21, N = 81 I
K
PROB. Su18-Fin.7. (The different parts are unrelated.)
(a) There are an infinite number of values for the delay parameter t0 below such that:
1-
-------- 1
t0 = , or t0 = ------ .
150 75
2p 1 + 3m 1 4 7 10
q = ------ + m2p ) t0 = ------------------ 2f --------- , --------- , --------- , --------- , ...g
3 150 150 150 150 150
4p 2 + 3k 2 5 8 11
or q = ------ + k2p ) t0 = --------------- 2f --------- , --------- , --------- , --------- , ...g
3 150 150 150 150 150
a function of n
sin ( 0.9pn )-
h[ n ] = --------------------------- with sin ( 0.75pn -) :
x[ n ] = ------------------------------
pn pn
Multiplying the 44-Hz sinusoid by the 4-Hz sinusoid leads to the sum of two
sinusoids, one with frequency 40 Hz and the other with frequency 48 Hz, so
overall x( t ) has contributations at three frequencies:
40 Hz = (8)(5)
48 Hz = (8)(6)
120 Hz = (8)(15) ) greatest common factor is 8
(d) If fX[ 0 ], ... X[ 511]g are the DFT coefficients that result from taking a 512-point DFT
of the length-12 signal x[ n ] = [1 1 1 2 2 2 3 3 3 4 4 4] for n2f0, ... 11g,
then find numerical values for the following two DFT coefficients:
X[ 0 ] = 30 ,
P –jk2pn/N
X[ k ] = nx[n]e
X[ 256] = –2 .
P
)X[ 0 ] = nx[n] = 1 + 1 + 1 + 2 + 2 + 2 + 3 + 3 + 3 + 4 + 4 + 4 = 30
P –jpn
)X[256] = nx[n]e = 1 – 1 + 1 – 2 + 2 – 2 + 3 – 3 + 3 – 4 + 4 – 4 = –2