Docsity

EECS 145M Spring 2009 Midterm 2 Solutions - Electrical Eng. & Comp. Science, Exams of Microcomputers

Toggle sidebar
bg1
April 22, 2009 page 1 S. Derenzo
Solutions for Midterm #2 - EECS 145M Spring 2009
1.1 Fourier Convolution Theorem: The Fourier transform of the convolution of two functions is
the product of their Fourier transforms (Textbook p 391, lecture slide #218).
[Note: no deduction for switching the answers for 1.1 and 1.4. It is more important to know
the two theorems than to know exactly what they are called.]
[6 points off for stating the same theorem for 1.1 and 1.4]
1.2 A periodic waveform is the convolution of a waveform with an infinite train of delta
functions. The Fourier transform of the latter is an infinite train of delta functions in
frequency. By the Fourier convolution theorem, the Fourier transform of a periodic
waveform is the product of its Fourier transform with an infinite train of delta functions in
frequency. The resulting Fourier transform has non-zero values only at discrete frequencies
(Textbook Figure 5.26, lecture slide #224).
r
t
Convolve
0
0
h(t)
0
f
H(f)
T
r
2Tr
0
T
r
2Tr
0f
r
f
Multiply
0
T
r/ 2
h(t)h(t)h(t)h(t)h(t)
-2Tr
-2Tr
-Tr
-Tr/2
-Tr
1.3 Nyquist sampling theorem: To recover a waveform from its sampled values, the sampling
frequency must be at least twice the highest frequency in the signal (Textbook p 404, lecture
slide #177).
1.4 Fourier Frequency Convolution Theorem: The Fourier transform of the product of two
functions is the convolution of their Fourier transforms (Textbook p 394, lecture slide #225)
1.5 Periodically sampling a waveform is equivalent to multiplying the waveform by a
continuous train of delta functions. The Fourier transform of the latter is a continuous train
of delta functions with a spacing equal to the sampling frequency. By the Fourier frequency
convolution theorem, the Fourier transform of the product is the convolution of the two
Fourier transforms. The result is an infinite summation of copies of the Fourier transform of
the waveform, each copy shifted by integer multiples of the sampling frequency. Any
frequencies outside –fs/2 and +fs/2 will overlap other frequencies, resulting in frequency
aliasing (Textbook p 396, lecture slide #230).
pf3
pf4

Partial preview of the text

Download EECS 145M Spring 2009 Midterm 2 Solutions - Electrical Eng. & Comp. Science and more Exams Microcomputers in PDF only on Docsity!

Solutions for Midterm #2 - EECS 145M Spring 2009

1.1 Fourier Convolution Theorem: The Fourier transform of the convolution of two functions is the product of their Fourier transforms (Textbook p 391, lecture slide #218). [Note: no deduction for switching the answers for 1.1 and 1.4. It is more important to know the two theorems than to know exactly what they are called.] [6 points off for stating the same theorem for 1.1 and 1.4] 1.2 A periodic waveform is the convolution of a waveform with an infinite train of delta functions. The Fourier transform of the latter is an infinite train of delta functions in frequency. By the Fourier convolution theorem, the Fourier transform of a periodic waveform is the product of its Fourier transform with an infinite train of delta functions in frequency. The resulting Fourier transform has non-zero values only at discrete frequencies (Textbook Figure 5.26, lecture slide #224). r t Convolve 0 0 h ( t ) 0 f H ( f ) Tr 2 Tr 0 Tr 2 Tr 0 f f r Multiply 0 Tr / 2 h ( t ) h ( t ) h ( t ) h ( t ) h ( t ) -2 T r -2 T r

  • T r
  • T r/
  • T r 1.3 Nyquist sampling theorem: To recover a waveform from its sampled values, the sampling frequency must be at least twice the highest frequency in the signal (Textbook p 404, lecture slide #177). 1.4 Fourier Frequency Convolution Theorem: The Fourier transform of the product of two functions is the convolution of their Fourier transforms (Textbook p 394, lecture slide #225) 1.5 Periodically sampling a waveform is equivalent to multiplying the waveform by a continuous train of delta functions. The Fourier transform of the latter is a continuous train of delta functions with a spacing equal to the sampling frequency. By the Fourier frequency convolution theorem, the Fourier transform of the product is the convolution of the two Fourier transforms. The result is an infinite summation of copies of the Fourier transform of the waveform, each copy shifted by integer multiples of the sampling frequency. Any frequencies outside – f s/2 and + f s/2 will overlap other frequencies, resulting in frequency aliasing (Textbook p 396, lecture slide #230).

0 f Convolve 0 0 Bandwidth limit

  • f s/2 f s/
  • f s f s H ( f ) H ( f ) H ( f ) H ( f ) H ( f ) [2 points off for not stating that sampling means multiplying by a train of delta functions in the time domain] [2 points off for not stating that the Fourier transform is convolved with a train of delta functions in the frequency domain. [2 points off if overlap in frequency not stated as the cause of aliasing] [4 points off for restating the Nyquist theorem] 2.1 For n = 8 and G = 0.99, f/fc = 0.784. Since fc = 20 kHz, gain is greater than 0.99 for frequencies below f = 15.68 kHz 2.2 For n = 8 and G = 0.001, f/fc = 2.371. Since fc = 20 kHz, gain is less than 0.001 for frequencies above f = 47.42 kHz 2.3 20 kHz will appear at H20,000 with side lobes at H19,999 and H20,001 due to the Hann window. It will also appear at H45,536, H45,536, and H45,536. (frequency index 65,536 – 20,000 = 45, plus Hann side lobes). The amplitudes are proportional to the anti-aliasing filter gain which is 0.707 at 20 kHz. 40 kHz will appear at H 4 0,000 with side lobes at H39,999 and H40,001 due to the Hann window. It will also appear at H 2 5,536, H 2 5,536, and H 2 5,536. (frequency index 65,536 – 40,000 = 25, plus Hann side lobes). The amplitudes are proportional to the anti-aliasing filter gain which is 0.00390 at 40 kHz. [3 points off if no 40 kHz] [2 points off if no Hann side lobes] [2 points off if no relative amplitudes] 2.4 If the Hann window were not used, there would be no side lobes.

with 16,384 elements containing 1% of the noise of a single repetition of the pseudo-random sequence. This is better than averaging 100 noisy waveforms, which reduces the noise by only a factor of ten. [2 points off for averaging the waveforms rather than setting the non-harmonic Fourier amplitudes to zero] EECS145M Midterm #2 class statistics: Problem max average rms 1 30 22.1 3. 2 25 21.1 3. 3 45 34.0 7. total 100 77.1 10. Grade distribution: Range number approximate letter grade 40 - 49 0 F 50 - 59 1 D 60 - 69 2 C 70 - 79 3 B 80 - 89 7 A–, B+ 90 - 99 1 A 100 0 A+