


% -*- texinfo -*-
% @deftypefn {Function File} {} @var{dist} = distance(@var{pt1}, @var{pt2})
%
% Calculates the distance (in degrees) between @var{pt1} and @var{pt2}.
%
% @var{pt1} and @var{pt2} are two-column matrices of the form [latitude longitude].
%
% @example
% >> distance([37,-76], [37,-9])
% ans = 52.309
% >> distance([37,-76], [67,-76])
% ans = 30.000
% @end example
%
% @seealso{azimuth,elevation}
% @end deftypefn