%% Directivity Value of Helix Antenna.
% Calculate the directivity of a helix antenna.

h = helix;
D = pattern(h, 2e9, 0, 1:1:360);

%
% Showing the first five directivity values.

Dnew = D(1:5)

% Copyright 2012 The MathWorks, Inc.