1-2. To measure S-parameters of the
diode
Build the circuit with just a length of line
attached to the device.
Measure the input impedance using the
network analyzer.
Compensate for the length of the line to find
the S-parameters of your device (Matlab
code to do this is included)