%% Calculate Beamwidth and Angles of Antenna
% Calculate the beamwidth of a helix antenna and the angles of the beamwidth. The antenna has an azimuth angle of 1:1:360 degrees, an elevation angle of 0 degrees on the X-Y plane, and a dB down value of 5 dB.

hx = helix;
[bw,angles] = beamwidth(hx,2e9,1:1:360,0,5)

% Copyright 2012 The MathWorks, Inc.