%% Angle Between Sites When Path is Great Circle
% Create transmitter and receiver sites.

tx = txsite('Name','MathWorks','Latitude',42.3001,'Longitude',-71.3504);
rx = rxsite('Name','Fenway Park','Latitude',42.3467,'Longitude',-71.0972);

%
% Get the azimuth and elevation angles between the sites.

[az,el] = angle(tx,rx,'greatcircle')

% Copyright 2012 The MathWorks, Inc.