13
GEORGIA INSTITUTE OF TECHNOLOGY SCHOOL OF ELECTRICAL AND COMPUTER ENGINEERING Important Notes: Do not unstaple the test. Two double-sided page (8.5” £ 11”) of hand-written notes permitted. 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. Write your answers in the provided answer boxes. If more space is needed for scratch work, use the backs of the previous pages. 1 15 2 3 4 20 20 20 25 5 Total ECE 2026 — Summer 2018 Quiz #2 July 16, 2018 NAME: (e.g., gtxyz123) To avoid losing 3 points, circle your recitation section: 12:30 – 2:20pm 10:05 – 11:55am L01 (Beck) L02 (Beck) (FIRST) (LAST) GT username: 2:35 – 4:25pm L03 (Bhattacharjea) Problem Value Score Earned

*(25*,$ ,167,787( 2) 7(&+12/2*< 6&+22/ (/(&75,&$/ $1 ...barry.ece.gatech.edu/2026/handouts/Quiz2Summer18.pdf · _9>zhs)sg>zhs±s _e>zhs)s1{brw( xszd d ,qglfdwh zkdw nlqg

  • Upload
    others

  • View
    18

  • Download
    0

Embed Size (px)

Citation preview

GEORGIA INSTITUTE OF TECHNOLOGYSCHOOL OF ELECTRICAL AND COMPUTER ENGINEERING

Important Notes:

• Do not unstaple the test.

• Two double-sided page (8.5”£11”) of hand-written notes permitted.

• 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. Write your answers in the provided answer boxes. If more space is needed for scratch work, use the backs of the previous pages.

1 15

2

3

4

20

20

20

255

Total

ECE 2026 — Summer 2018Quiz #2

July 16, 2018

NAME:(e.g., gtxyz123)

To avoid losing 3 points, circle your recitation section:

12:30 – 2:20pm

10:05 – 11:55am L01 (Beck)

L02 (Beck)

(FIRST) (LAST)GT username:

2:35 – 4:25pm L03 (Bhattacharjea)

Problem Value Score Earned

PROB. Su18-Q2.1.

(a) If x[n ] = 3d[n ] + 2d[n– 2 ], and if y[n ] = x[n ] * x[n ] is the convolution of x[n ] with itself, then find numerical values for the following:

(b) The inverse DTFT of X(e jw) = is x[n ] = .

(Give an equation that is valid for all n.)

y[ 0 ] y[ 1 ] y[ 2 ] y[ 3 ] y[ 4 ] y[ 5 ]

10e 8jw–

10 e jw––-----------------------

PROB. Su18-Q2.2.

Consider an LTI system defined by the difference equation y[n ] = –x[n ] + Bx[n – 1] – x[n – 2],where B is an unspecified constant that may be different for each part below.

(a) If the output in response to the constant signal x[n ] = (for all n) is y[n ] = 0 (for all n), then

(b) If the output in response to the signal x[n ] = 4cos(pn) is y[n ] = 20cos(pn), then

(c) If B = –1.1756,and if the output in response to the constant-plus-sinusoidal signal x[n ] = 100 + cos(w0n)

is the constant signal y[n ] = C, then it must be that:

13---

B = .

B = .

C = ,

w0 = .

PROB. Su18-Q2.3. Consider three LTI filters whose impulse responses are as follows:

h1[n ] = ,

h2[n ] = d[n ] – ,

h3[n ] = 2cos(0.5pn) .

(a) Indicate what kind of filter each is by writing LPF, BPF, or HPF into each answer box above.

(b) Listed below are six different impulse responses h[n ], where the symbol “*” denotes convolution. Match each to its corresponding magnitude response jH(ejw) j shown to the right (A to F). Indiciate your answers by writing aletter from fA, ... Fg into each answer box.

(i) h1[n ]

(ii) h2[n ]

(iii) h3[n ]

(iv) (h1[n ] – h2[n ]) * h3[n ]

(v) (h1[n ] – h3[n ]) * h2[n ]

(vi) (h2[n ] – h3[n ]) * h1[n ]

0.6pn( )sinpn

----------------------------

0.2pn( )sinpn

----------------------------

0.4pn( )sinpn

----------------------------

0 w

jH(e jw ) j 1

1

1

w

w

w

w

w

p

p

p

p

p

p

–p

–p

–p

–p

–p

–p

1

1

A

B

C

D

E

F

1

0

PROB. Su18-Q2.4.

Below are a list of LTI filters (labeled A to H) specified in the time domain: either by their impulse response h[n ], their difference equation, or their MATLAB implementation. Match each filter to its corresponding magnitude response jH(e jw )j shown on the right. Indicate your answers by writing a letter from fA, B, ... Hg in each answer box.

(A) y[n ] = 0.5x[n ] – 0.5x[n – 1].

(B) y = conv(x,[2/3, 1/3]);

(C) h[n ] = 0.5x[n – 5 ] + 0.5x[n – 6 ]

(D) y[n ] = 0.199Pk=0

(0.9)kx[n – k ]

(E) y[n ] = 0.199Pk=0

(–0.9)kx[n– k ]

(F) y[n ] = 0.253Pk=0

x[n – k ]

(G) h[n ] = 5Pk=0

d[n – k ]

(H) y = conv(x,cos(pi*(0:5))/6);

-1 -0.5 0 0.5 10

0.5

1

-1 -0.5 0 0.5 10

0.5

1

-1 -0.5 0 0.5 10

0.5

1

-1 -0.5 0 0.5 10

0.5

1

-1 -0.5 0 0.5 10

0.5

1

-1 -0.5 0 0.5 10

0.5

1

-1 -0.5 0 0.5 10

0.5

1

-1 -0.5 0 0.5 10

0.5

1

–p 0 pw

1

0

–p 0 pw

1

0

–p 0 pw

1

0

–p 0 pw

1

0

–p 0 pw

1

0

–p 0 pw

1

0

–p 0 pw

1

0

–p 0 pw

1

0

jH(e

jw)j

jH(e

jw)j

jH(e

jw)j

jH(e

jw)j

jH(e

jw)j

jH(e

jw)j

jH(e

jw)j

jH(e

jw)j

16---

PROB. Su18-Q2.5. Consider an LTI filter whose real-valued frequency response satisfies H(e jw) = j w j,for j w j < p, as illustrated below:

(a) The DC gain of the filter is .

(b) If the input is the sinusoid x[n ] = cos(0.5pn), then the output at n = 18 will be y[18] = .

(c) If the output of this system in response to the input x[n ] = cos(w0^ n) + cos(w0^ (n – 1))

is y[n ] = cos(w0^ n + j), then

p

–p 0 p w

H(e jw)

w0^ =

j =

GEORGIA INSTITUTE OF TECHNOLOGYSCHOOL OF ELECTRICAL AND COMPUTER ENGINEERING

Important Notes:

• Do not unstaple the test.

• Two double-sided page (8.5”£11”) of hand-written notes permitted.

• 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. Write your answers in the provided answer boxes. If more space is needed for scratch work, use the backs of the previous pages.

1 15

2

3

4

20

20

20

255

Total

ECE 2026 — Summer 2018Quiz #2

July 16, 2018

NAME:(e.g., gtxyz123)

To avoid losing 3 points, circle your recitation section:

12:30 – 2:20pm

10:05 – 11:55am L01 (Beck)

L02 (Beck)

(FIRST) (LAST)GT username:

2:35 – 4:25pm L03 (Bhattacharjea)

Problem Value Score Earned

KEY

PROB. Su18-Q2.1.

(a) If x[n ] = 3d[n ] + 2d[n– 2 ], and if y[n ] = x[n ] * x[n ] is the convolution of x[n ] with itself, then find numerical values for the following:

(b) The inverse DTFT of X(e jw) = is x[n ] = .

(Give an equation that is valid for all n.)

y[ 0 ] y[ 1 ] y[ 2 ] y[ 3 ] y[ 4 ] y[ 5 ]

9 0 12 0 4 0

3 0 29 0 6

0 0 06 0 4

9 0 12 0 4

x[0]x[n]

x[1]x[n-1]

x[2]x[n-2]

x[n]

10e 8jw–

10 e jw––----------------------- (0.1)n – 8u[n – 8]

e 8jw–

1 0.1e jw––--------------------------Simplifies to X(e jw) = = e –8jw 1

1 0.1e jw––--------------------------

From Table 1, the second factor is the DTFT of (0.1)nu[n ].

From Table 2, multiplying the DTFT by e –8jw delays by 8.

PROB. Su18-Q2.2.

Consider an LTI system defined by the difference equation y[n ] = –x[n ] + Bx[n – 1] – x[n – 2],where B is an unspecified constant that may be different for each part below.

(a) If the output in response to the constant signal x[n ] = (for all n) is y[n ] = 0 (for all n), then

(b) If the output in response to the signal x[n ] = 4cos(pn) is y[n ] = 20cos(pn), then

(c) If B = –1.1756,and if the output in response to the constant-plus-sinusoidal signal x[n ] = 100 + cos(w0n)

is the constant signal y[n ] = C, then it must be that:

13---

B = .The DC gain is zero

) –1 + B – 1 = 0

2

) B = 2

B = .The gain at p is five

) –1 – B – 1 = 5

) B = –7

–7

C = ,

w0 = .

The frequency response of this [–1, B, –1] filter is

H(e jw) = –1 + Be –jw – e –2jw

= e –jw(–e jw + B – e –jw)

= e –jw(B – 2cos( w ))

The nulled frequency must therefore satisfy 2cos( w0 ) = B

) w0 = cos–1(B/2) = cos–1(–1.1756/2) = 0.7p

Equating the DC gain B – 2 to the ratio C/100 yields:

C/100 = B – 2 = –3.1756

–317.56

0.7p

) C = –317.56

PROB. Su18-Q2.3. Consider three LTI filters whose impulse responses are as follows:

h1[n ] = ,

h2[n ] = d[n ] – ,

h3[n ] = 2cos(0.5pn) .

(a) Indicate what kind of filter each is by writing LPF, BPF, or HPF into each answer box above.

(b) Listed below are six different impulse responses h[n ], where the symbol “*” denotes convolution. Match each to its corresponding magnitude response jH(ejw) j shown to the right (A to F). Indiciate your answers by writing aletter from fA, ... Fg into each answer box.

(i) h1[n ]

(ii) h2[n ]

(iii) h3[n ]

(iv) (h1[n ] – h2[n ]) * h3[n ]

(v) (h1[n ] – h3[n ]) * h2[n ]

(vi) (h2[n ] – h3[n ]) * h1[n ]

LPF0.6pn( )sinpn

----------------------------

HPF0.2pn( )sinpn

----------------------------

BPF0.4pn( )sinpn

----------------------------

0 w

jH(e jw ) j 1

1

1

w

w

w

w

w

p

p

p

p

p

p

–p

–p

–p

–p

–p

–p

1

1

A

B

C

D

E

F

1

0

C

A

E

D

F

B

PROB. Su18-Q2.4.

Below are a list of LTI filters (labeled A to H) specified in the time domain: either by their impulse response h[n ], their difference equation, or their MATLAB implementation. Match each filter to its corresponding magnitude response jH(e jw )j shown on the right. Indicate your answers by writing a letter from fA, B, ... Hg in each answer box.

(A) y[n ] = 0.5x[n ] – 0.5x[n – 1].

(B) y = conv(x,[2/3, 1/3]);

(C) h[n ] = 0.5x[n – 5 ] + 0.5x[n – 6 ]

(D) y[n ] = 0.199Pk=0

(0.9)kx[n – k ]

(E) y[n ] = 0.199Pk=0

(–0.9)kx[n– k ]

(F) y[n ] = 0.253Pk=0

x[n – k ]

(G) h[n ] = 5Pk=0

d[n – k ]

(H) y = conv(x,cos(pi*(0:5))/6);

-1 -0.5 0 0.5 10

0.5

1

-1 -0.5 0 0.5 10

0.5

1

-1 -0.5 0 0.5 10

0.5

1

-1 -0.5 0 0.5 10

0.5

1

-1 -0.5 0 0.5 10

0.5

1

-1 -0.5 0 0.5 10

0.5

1

-1 -0.5 0 0.5 10

0.5

1

-1 -0.5 0 0.5 10

0.5

1

–p 0 pw

1

0

–p 0 pw

1

0

–p 0 pw

1

0

–p 0 pw

1

0

–p 0 pw

1

0

–p 0 pw

1

0

–p 0 pw

1

0

–p 0 pw

1

0

jH(e

jw)j

jH(e

jw)j

jH(e

jw)j

jH(e

jw)j

jH(e

jw)j

jH(e

jw)j

jH(e

jw)j

jH(e

jw)j

B

D

C

F

G

H

A

E

16---

PROB. Su18-Q2.5. Consider an LTI filter whose real-valued frequency response satisfies H(e jw) = j w j,for j w j < p, as illustrated below:

(a) The DC gain of the filter is .

(b) If the input is the sinusoid x[n ] = cos(0.5pn), then the output at n = 18 will be y[18] = .

(c) If the output of this system in response to the input x[n ] = cos(w0^ n) + cos(w0^ (n – 1))

is y[n ] = w0^ cos(w0^ n + j), then

p

–p 0 p w

H(e jw)

0 –0.5p

) y[n] = rcos(0.5pn + q) = 0.5pcos(0.5pn)

) y[18] = – 0.5p

The freq response at the sinusoid frequency H(e j0.5p) = 0.5p,

polar form rejq

where r = 0.5p,q = 0

w0^ =

j =

From phasor addition,

) 2cos(w0^ /2) = 1

2p3

------

p–

3-----

x[n ] = 2cos(w0^ /2)cos(w0

^ n – w0^ /2 ).

Aejq = 1 + e–jw0 ) A = 2cos( w0^ /2 ), q = – w0^ /2

input simplifies to

Filter scales by w0^ , no phase change

) w0^ = 2p/3

) input amplitude must be 1

j = anything

alternative solution:

w0^ = 0