
15.4. DSK IMPLEMENTATION IN C 253
0 4 8 12 16 20 24
10
11
12
13
14
15
16
17
18
19
20
frequency (kHz)
delay (samples)
Figure 15.12: The group delay associated with a 30th-order FIR Hilbert transforming filter.
delay is equal to half the filter order.
5. Alternatively, an FFT/IFFT can be used to implement the Hilbert transform if a
frame-based system is desired. This process can be implemented using the MATLAB
code
transformedSignal = ifft( fft( signal ).∗ ...
2 [−j∗ones (1 ,513) j∗ones (1 ,511) ]) ;
In this example, there are 1024 samples per frame.
6. The loop filter can alternatively be implemented in its parallel form.
7. The modulus operation should be replaced by ...