

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!


Homework #
Due December 3, 2001
H(e jฯ)
H(e jฯ)
M v[n] w[n]
x[n] M y[n]
4
ฯ
X(e jฯ) 1
1
ฯ ฯ ฯ 4
1/
ฯ 2
ฯ ฯ ฯ 2
โ (^) โ
โ (^) โ 0
0
Figure 2โ
Figure 2โ
Figure 2โ
(a) For
label significant amplitudes and frequencies. (b) For
, determine and sketch the magnitude of the frequency response for the overall
(c) For
label significant amplitudes and frequencies. (d) For
, determine and sketch the magnitude of the frequency response for the overall
pass filter with a cutoff frequency of 5 kHz and then sampled it at a 10 kHz rate, as shown below:
โ5,000 5,000 F (Hz)
1
0
H(j ฮฉ )
C/D
FS = 10 kHz
s (t)c s[n]
Later you find that what you should have done was to filter the signal at 3 kHz and sample it at 6 kHz:
F (Hz)
1
0
H(j ฮฉ )
s (^) c(t) C/D
FS = 6 kHz
s 1 [n]
โ3,000 3,
discrete time filter, you should specify the frequency response of the filter. (You may use an ideal filter.)
(a) Draw a single-stage implementation (one up-sampler followed by a LPF followed by a down- sampler) of the system, like the one discussed in class. (b) What are the specifications of the low pass filter โ gain, passband frequency, stopband fre- quency? (c) Suppose you want to implement this filter with an FIR filter using a Kaiser window. What order of filter do you need? (d) Use MATLAB to find the coefficients for your filter. (If the order of your filter is much larger than 3,000, limit the order to order 3,000 so the next part will not take an excessive amount of computer time.) Plot the impulse response of the filter. (e) Use MATLAB to generate a signal with a frequency of 5 kHz, sampled the DAT frequency:
FS_DAT = 48e3; % DAT Sampling Frequency F1 = 5e3; % Frequency of input signal t_DAT=0:1/FS_DAT:0.01; % Time vector at DAT frequency n_DAT = 1:length(t_DAT); % Indices of times x1_DAT = cos(2piF1*t_DAT); % Input signal sampled at DAT freq
Process this signal with the system you designed in Part a, using the filter you designed in Part d. To put L-1 zeros between each sample you can do something like this: