Appendix 6A Example Source Code

The companion Web site includes seven Microsoft Visual C++ .NET projects, each comprising a simulation that demonstrates and provides a test vehicle for a different spectrum-estimation model, as listed in Table 6A.1. Several of these models make use of the GenericWindow class, which is presented in Section 6A.2.

Table 6A.1 Projects in SignalGenerators directory.


6A.1 BartlettPeriodogramWindowed

The header, constructor, Initialize method, and Execute method for model BartlettPeriodogramWindowed are shown in Lisitngs 6A.1 through 6A.4 respectively.

Listing 6A.1 Header file for BartlettPeriodogramWindowed.

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.