sphere_stereograph_test, a MATLAB code which calls sphere_stereograph(), which implements the standard stereographic mapping between the unit sphere and the plane Z=1, as well as a generalization of this mapping.
The computer code and data files described and made available on this web page are distributed under the MIT license
sphere_stereograph, a MATLAB code which computes the stereographic mapping between points on the surface of the unit sphere in 3D and points on the plane Z = 1; a generalized mapping is also available.