

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!


@ Kefu Xue, Ph.D., Sep. 2001 to July 2007
Instructor: Kefu Xue, Ph.D.
H(ejθ) =
1 |θ| ≤ θc 0 θc < |θ| ≤ π
(a) Using the definition of inverse DtFT to show that the unit impulse response, h(n) = (^21) π
Z (^) π
−π
H(ejθ)ejθndθ is a sinc() function of n.
(b) Sketch both the ideal lowpass filter spectrum H(ejθ) and the unit impulse response h(n) with θc = π 4.
(a) What is the highest frequency components in an analog signal can be sampled without aliasing error by this DSP board? (b) If an analog signal to be analyzed by the DSP board has a bandwidth of 10 KHz, what is you choice of sampling frequency such that the best (finest) frequency res- olution can be achieved in the DFT analysis and what is the frequnecy resolution (Hz)? (c) If a sampling frequency fs = 16 KHz and length N = 1024 are selected, which frequencies do 32nd, 500rd, and 622nd samples in the DFT sequence represent? (d) If the sampling frequency of the DSP board is selected to 6 KHz and a 256 points DFT is performed on an analog signal, what is the record length (duration) of the analog signal collected for DFT (in second)? To the same data, in order to achieve a frequency resolution better than 10 Hz, how many zeros have to be padded?
X(0) = 4, X(2) = − 3
which one of the following sequences be the possible x(n)? Find the DFT values of X(1) and X(3) of that sequence.
(a)
(b)
@ Kefu Xue, Ph.D., Sep. 2001 to July 2007 page 2
(c)
(d)
X(0) = 2; X(2) = 0; X(3) = 1 − 2 j
(a) If X(2) represent the frequency component of 50 Hz, what is the sampling fre- quency that is used in sampling signal xa(t)? (Explain) (b) Find the values of x(n), n = 0, 1 , 2 , 3.
(a) What is the length of the DFT sequence X(k)? (b) What is the average value (DC) of the real sequence x(n)? (c) Is there enough information for you to find the values of X(15), X(19), X(5), and X(7)? What are the values that you can decide?
(a) Take 256 samples of the following signal with a sampling frequency equal to 40 Hz, xa(t) = cos(8πt) + cos(8. 8 πt) + 0.0001 cos(24πt) First, find period N of the sampled signal x(n). Hand sketch the line spectrum Cn of the signal with the correct frequency label. Now you know exact spectrum of the signal. (b) Apply fft() to the first N samples of the signal. It yields the DFS of the signal. Using stem() function to plot the magnitude line spectrum (in dB) with correct frequency axis which should match your hand sketch. (subplot(2,1,1): 1st subplot) (c) Apply fft() to the entire 256 samples of the signal and use plot to display the magnitude spectrum in dB scale with correct frequency axis (Hz). (subplot(2,1,2): 2nd subplot) Explain what you see. (d) Zero padding the sampled signal x(n) to the length 1024 using fft(x,1024) func- tion. Plot the magnitude spectrum in dB scale with correct frequency axis (Hz). (subplot(2,1,1): 2nd figure 3rd subplot) (e) Apply a hanning window, hanning(256), to the signal, x(n), using (.*). Perform fft() to the windowed signal and display the magnitude spectrum in dB scale with correct frequency axis (Hz). (subplot(2,1,2): 2nd figure, 4th subplot)