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 MIT license
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.
HA30 is a dataset of spherical distances for 30 cities, as selected by Hartigan from the World Almanac, 1966.
distance_to_position_sphere ( 'ha30_dist.txt', 39.59 )