%% Export, Save, Load and Analyze Discone Antenna
% Create and export a discone antenna using Antenna Designer app.
%
% In the Matlab workspace, you will see the exported antenna. This is in the form of a .mat file.
%
% Change the parameters of the antenna to the below given values at the Matlab command line and save the .mat file again to a known folder.

Rd=55e-3;                % Radius of disc
Rc1=72.1e-3;             % Broad Radius of cone
Rc2=1.875e-3;            % Narrow Radius of cone
Hc=160e-3;               % Vertical height of cone
Fw=1e-3;                 % Feed Width
S=1.75e-3;               % Spacing between cone and disc

%
% Open the updated .mat file of the discone antenna using the open antenna designer app.
%
% The app will overwrite the previous discone antenna design and open the updated discone antenna.
%
%
% Calculate the S-parameter of the antenna at the specified frequency range.
%
% Plot the radiation pattern of the antenna at the specified frequency.
%
% Copyright 2019 The MathWorks, Inc.