%% Impedance of J-Dipole Antenna
% Create and view a J-dipole antenna with the following specifications:
% Radiator length = 0.978 m
% Stub length      = 0.485 m
% FeedOffset       = 0.049 m

dj = dipoleJ('RadiatorLength',0.978,'StubLength',0.485, ...
      'FeedOffset',0.070);
show(dj)

%
%  Calculate the impedance of the antenna over a frequency span 140MHz - 150MHz.

impedance(dj,linspace(140e6,150e6,51));

% Copyright 2012 The MathWorks, Inc.