Appendix 5A Example Source Code

This chapter covers discrete-transform techniques that are used within other models. Consequently, there are no complete simulations associated with this chapter on the companion Web site. However, there are a number of different FFT implementations provided.

5A.1 FFT Wrapper Routines

The file fft_T.cpp includes a number of separate FFT and inverse FFT routines like the examples in Listings 5A.1 through 5A.3. These routines are designed to act as wrappers for the FFT “engines,” such as FftDitPino, that actually perform the FFT calculations. The use of wrappers allows different combinations of real and complex time and frequency signals to interface to a common set of engines, discussed in Section 5A.2. The example ...

Get Simulating Wireless Communication Systems: Practical Models In C++ now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.