%% S-Parameters and Impedance of Custom Circular Waveguide
% Create a circular waveguide with the following dimensions.

ant=waveguideCircular('Radius',35.7e-3,'Height',200e-3,...
       'Feedwidth',26e-3,'FeedHeight',34.71e-3,'FeedOffset', 42.42e-3);
show(ant);

%
%  Plot the s-parameters and impedance of the waveguide.

s=sparameters(ant,linspace(2.5e9,4e9,45));
rfplot(s);
figure;
impedance(ant,linspace(2.5e9,4e9,45));

% Copyright 2019 The MathWorks, Inc.