DSP Projects
DSP Projects
Project A: Decimation
Project B: FIR Filter Design Variations
Project C: Analytic Filter-Pair Generation
Project D: Newton’s Method for Square Roots in QuickBasic 4.5
Project E: A Fast Square-Root Algorithm Using a Small Look-Up Table in Assembly Language
Project F: A High-Performance DDS
Project G: A Fast Binary Multiplier in High-Speed CMOS Logic
PROJECT A: DECIMATION
This project illustrates the concept of generated using the “Sine” function of the Next, decimate the sequence by a factor
decimation using Alkin’s PC-DSP pro- “Generate” sub-menu under the “Data” of 2 using the “Decimate” function found in
gram, included with the book of that name menu, with parameters Var1 = SIN, A = 1, the “Process” sub-menu under the “Data”
listed in the Bibliography. First, generate B = 0.25, C = 0 and #Samples = 40. Press menu. Use parameters Var1 = SIN2, Var2 =
40 samples of the sinusoid y(n) = sin(n/4), F2 to display the data, which should match SIN, Factor = 2. Display the new sequence
where 0 < n < 39. This sequence may be Fig 16.A1. by pressing F2. It should match Fig 16.A2.
Fig 16.A1—A 40-sample sine wave. Fig 16.A2—Decimated, 20-sample sine wave.
16.36 Chapter 16
16.38 Chapter 16
Fig 16.C2—LPF prototype frequency response (A). BPF frequency response of processed impulse response (B).
16.42 Chapter 16
16.44 Chapter 16