M-files

The intent of the software is to provide support for the material covered in the textbook. All programs have been developed and tested using various Matlab versions (5.2 to 7.5). Although the authors believe that all routines should be compatible with all versions of Matlab, this may not be the case.

All m-files (100k)

Software Installation

After downloading RF_matlab.zip, the installation steps are as follows:

  1. Unzip RF_matlab.zip to a desired location.
  2. In the Matlab environment, change directory to RF_matlab that was created when unzipping RF_matlab.zip.
  3. At the Matlab command line, type set_path. This will add all necessary paths to the search tree within Matlab. If you do not desire to save this information for future use, you can stop the installation process now. In this case you will be able to run all programs, but all path information will be deleted after closing Matlab. If you decide to store the path information for future use, continue with the next step.
  4. In the Matlab command window, select the File/Set Path menu item. Click Save in the dialog box that opens.
At this point, all path information is stored and you can begin running the m-file routines from the command line.

File Organization

All files are organized in the directory structure shown below and the content of each folder is described in the table.

Folder name Description
RF_matlab Root directory
ch01-ch10 Selected examples and figures for chapters 1 through 10.
tools Common files for simulations
amplifiers Programs for computation of stability factor and simultaneous complex-conjugate matching for the bilateral design
circles Various circle equations
gain Constant gain circles
noise Constant noise circles
quality Constant Qn circles
stability Stability circles
conversion Conversion routines between different two-port network representations
global Some useful routines for the computation of the input and output reflection coefficients, VSWR, etc.
networks Routines for the definition of matching network circuit topologies
smith Programs related to the construction and plotting of various arcs in the Smith Chart

Additional information for each of the programs can be obtained by executing the command help <program_name>, where <program_name> is the name of the particular m-file. For example, to obtain help about the program smith_chart.m, you execute the command help smith_chart in Matlab's main window.