Professional Documents
Culture Documents
Selesnick 2006
Selesnick 2006
Ivan W. Selesnick
1 1 1
0 0 0
−1 −1 −1
1 1 1
0 0 0
−1 −1 −1
1 1 1
0 0 0
−1 −1 −1
15 15
20
10 10
10
5 5
0 0 0
0 5 10 15 20 25 0 5 10 15 20 25 0 5 10 15 20 25
5 4
2
2
0 0 0
0 5 10 15 20 25 0 5 10 15 20 25 0 5 10 15 20 25
1.5
20 10
1
10 5
0.5
0 0 0
0 5 10 15 20 25 0 5 10 15 20 25 0 5 10 15 20 25
Fig. 1. A DFT matching problem. The signals and their DFTs are out of order; match each signal to its DFT. Each signal x(n)
is of length 28, defined on 0 ≤ n ≤ 27. Each DFT sequence X(k) is defined on k ≤ k ≤ 27. The magnitude |X(k)| is shown.
286
WEIGHTING FUNCTION 1
1.5
FREQUENCY RESPONSE A
bands on the error in the pass-band and stop-band; and how
1 the width of the zero-weighted transition band affects the fre-
1 quency response of the resulting filter. This simple matching
0.5 exercise helps the student understand the effect of the error
0.5
weighting function.
0 0
0 0.25 π 0.5 π 0.75 π π 0 0.25 π 0.5 π 0.75 π π
287
IMPULSE RESPONSE 1 IMPULSE RESPONSE 2 IMPULSE RESPONSE 3
0.4 1 0.3
0.2 0.2
0.5
0 0.1
0
−0.2 0
0.2 0.2
0.5
0.1 0
0
0 −0.2
0
30 0
30 0
30
−1
−1 −1
−1 0 1 −2 −1 0 1 −1 0 1
0
30 0
30 0
30
−1
−1 −1
−1 0 1 2 −1 0 1 −1 0 1
1 1
0.5 0.5
0 0
−π −0.5 π 0 0.5 π π −π −0.5 π 0 0.5 π π
ω ω
FREQUENCY RESPONSE 3 FREQUENCY RESPONSE 4
1.5 1.5
1 1
0.5 0.5
0 0
−π −0.5 π 0 0.5 π π −π −0.5 π 0 0.5 π π
ω ω
Fig. 3. A matching problem for nonlinear-phase FIR filters. The diagram are out of order; match each diagram to the other
ones.
288
For each of the eight spectrograms, indicate what you think 7. REFERENCES
R, L, and N are, by completing the table and explain your
answers. [1] R. G. Baraniuk, C. S. Burrus, D. H. Johnson, and D. L.
Jones. Sharing knowledge and building communities in
Spectrogram R L N signal processing. IEEE Signal Processing Magazine,
A 21(5):10–16, September 2004.
B
[2] C. S. Burrus, J. H. McClellan, A. V. Oppenheim, T. W.
C
Parks, R. W. Schafer, and H. W. Schuessler. Computer-
D
Based Exercises for Signal Processing. Prentice Hall,
E
1994.
F
G [3] K. E. Wage, J. R. Buck, and C. H. G. Wright. Obstacles in
H signals and systems conceptual learning. In Proc. Third
IEEE Signal Processing Education Workshop, pages 58–
Discussion: For this exercise1 the student should understand 62, Aug 1-4 2004.
the effect on the appearance of the spectrogram caused by
adjusting each of the three parameter values. Most impor- [4] K. E. Wage, J. R. Buck, C. H. G. Wright, and T. B.
tantly, the student should understand how the block length, Welch. The signals and systems concept inventory. IEEE
R, affects the frequency/time-resolution of the spectrogram. Trans. on Education, 48(3):448–461, August 2005.
In addition, the parameters L (equivalently, the overlap) and
N affect the number of rows and columns of the discrete-time
discrete-frequency spectrogram array.
Spectrogram A is ‘pixelated’ along the frequency axis,
which means that there are few DFT coefficients in each col-
umn of the spectrogram. So for spectrogram A, N = 45. For
the same reason, N = 45 for spectrograms B, C, and G.
Similarly, spectrograms B, C, D, and F are ‘pixelated’
along the time axis, which means that these images contain
few columns, which occurs when the time lapse between blocks
is large (small amount of overlap). For these spectrograms,
L = 10. The other spectrograms have L = 1.
For spectrograms A, C, E, and F the frequency-resolution
is not as good as it is for the other four spectrograms. No-
tice that for these four spectrograms, the horizontal line that
represents the cosine signal is wider that for the other four
spectrograms — it is less clear what the actual frequency of
the cosine signal is. Therefore, for spectrograms A, C, E, and
F, the block length must be shorter than it is for the other four
spectrograms.
6. CONCLUSION
289
SPECTROGRAM A SPECTROGRAM B
0.5 0.5
0.4 0.4
frequency
frequency
0.3 0.3
0.2 0.2
0.1 0.1
0 0
0 50 100 150 0 50 100 150
time time
SPECTROGRAM C SPECTROGRAM D
0.5
0.4 0.4
frequency
frequency
0.3 0.3
0.2 0.2
0.1 0.1
0 0
0 50 100 150 0 50 100 150
time time
SPECTROGRAM E SPECTROGRAM F
0.4 0.4
frequency
frequency
0.3 0.3
0.2 0.2
0.1 0.1
0 0
0 50 100 150 0 50 100 150
time time
SPECTROGRAM G SPECTROGRAM H
0.5
0.4 0.4
frequency
frequency
0.3 0.3
0.2 0.2
0.1 0.1
0 0
0 50 100 150 0 50 100 150
time time
Fig. 4. A matching problem for the short-time Fourier transform. For each spectrogram, identify which parameters values from
the problem statement are used.
290