distance_to_position_sphere_test, a MATLAB code which calls distance_to_position_sphere(), which estimates the positions of cities given a city-to-city distance table. The cities are presumed to lie on a sphere, and to be sufficiently separated that the curvature of the sphere must be accounted for.


The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.

Related Data and Programs:

distance_to_position_sphere, a MATLAB code which estimates the positions of cities on a sphere (such as the earth) based on a city-to-city distance table.

Source Code:

HA30 is a dataset of spherical distances for 30 cities, as selected by Hartigan from the World Almanac, 1966.

Last revised on 04 July 2011.