%% Behavioral S-parameters of Coplanar Waveguide Transmission Line
% Create a coplanar waveguide transmission line using a gold substrate as the dielectric.

txem = coplanarWaveguide;
txem.Conductor = metal("Gold");

% Design the coplanar waveguide at a frequency of 3 GHz, line length of 0.5 meters, and impedence of 75 ohms.

txem = design(txem,3e9,LineLength=0.5,Z0=75);
show(txem)

% Compute and plot the behavioral S-parameters of the waveguide.

spar = sparameters(txem,3e9,Behavioral=true);
rfplot(spar)

% Copyright 2020 The MathWorks, Inc.