Abstract-LINEMOD is a transmission line modeling program that takes a line configuration (including possibly bridged taps) and generates ‘the input impedance, attenuation versus frequency, and impulse response. It is written in C, a modern structured programming language, and utilizes sophisticated data structures, dynamic storage allocation, and recursion to achieve flexibility and economy of storage. As such, it illustrates the value of C as an implementation language for modeling programs of this type. It also emphasizes a shortcoming of C for this purpose, which is the absence of built-in complex arithmetic. DAVID G. MESSERSCHMITT, FELLOW, IEEE ing ’ program to make the program more flexible in its use and simpler to write and understand. LINEMOD also reveals a major weakness of the C language for this type of program; namely, the absence of complex number arithmetic. This weakness is easily over-come because of the ability of the programmer to define new data types, such as complex numbers, but this is somewhat cumbersome when compared to a language like Fortran with built-in complex arithmetic. In summary, the emphasis of this paper is on illustrating the power that a modem structured language like C can bring to a communication system modeling program, and at the same time illustrates some weaknesses of such a language for this task. It is hoped that this illustration will help other programmers in the choice of an implementa-tion language. 1
To submit an update or takedown request for this paper, please submit an Update/Correction/Removal Request.