Design of Multi-Frequency CW Radars

The program " cw.cpp" calculates the range/power levels of FMCW and phase-coded CW radars given either of the parameters. It outputs the range in kilometers or the average power in watts. It is intended as a tool for quick performance evaluation of CW radars.
This software covers two aspects of FMCW/PCCW radars: scanning mode and nonscanning mode. Certain assumptions are made in each of these modes.
The FMCW radar range equation is
where
( Note: all dB values will be converted to absolute values before inserting in equation)
P Av Average transmitted power in watts
G T Transmitting antenna gain
G R Receiving antenna gain
? Target RCS in square meters
? Wavelength in meters
F Receiver noise figure, typically 3 dB
k Boltzmann's constant, 1.38 10 -23 J/K
L System losses
T System noise temperature in K, typically 400 K
SNR o Output SNR, that is, desired at the detector for a given P d and P FA
SRF Sweep repetition...