Read Measured S-Parameters
Create a sparameters object for the measured S-parameters, by reading the Touchstone® data file, samplebjt2.s2p.
S_measuredBJT = sparameters('samplebjt2.s2p');
freq = S_measuredBJT.Frequencies;
Calculate S-Parameters for Left Pad
Create a two port circuit object representing the left pad, containing a series inductor and a shunt capacitor. Then calculate the S-parameters using the frequencies from samplebjt2.s2p.
leftpad = circuit('left');
add(leftpad,[1 2],inductor(1e-9));
add(leftpad,[2 3],capacitor(100e-15));
setports(leftpad,[1 3],[2 3]);
S_leftpad = sparameters(leftpad,freq);
Calculate S-Parameters for Right Pad
Create a two port circuit object representing the right pad, containing a series inductor and shunt capacitor. Then, calculate the S-parameters using the frequencies from sa