Code covered by the BSD License  

Highlights from
Geodetic Transformations Toolbox

from Geodetic Transformations Toolbox by Peter Wasmeier
Set of tools for transformation used in geodesy, especially when using GPS or mapping

Transformations.m
% TRANSFORMATIONS.MAT
%
% Mat-File containing standard parameter sets for 10-parameter similarity 3D transformations  
% (datum transformations) to be used with d3trafo or for 12-parameter affine transformations used
% with d3affinetrafo.
%
% This mat-File contains parameters for
%  - similarity transformations: 1x10 double variables containing the 7 parameters 
%    [dx dy dz ex ey ez s] with
%       dx,dy,dz = translations [m]
%       ex,ey,ez = rotations in [rad]
%              s = scale factor
%    and the rotation center [x0 y0 z0] in [m]
%    For Bursa-Wolf type (geocentric rotation), the last three are simply set to [0 0 0].
%
%  - affine transformations: 1x12 double variables containing the 12 parameters
%    [x0 y0 z0 a1 a2 a3 a4 a5 a6 a7 a8 a9]
%
% When predefined parameter sets get used, the functions needs to check whether the number of
% parameters is correct, i.e. the parameter set is qualified for the desired transformation type.
%
% Standard parameter sets mostly are used to transform WGS84 coordinates to a local datum (and back),
% but may also be used to transform local datums to each other (e.g. in border areas).
% Please note, that accuracy is limited with the use of standard parameters (usually from 1 - 25 m,
% depending on the areal extent and determination quality); especially when there is only a shift 
% information and no rotation or scaling to be appended.
% Of course, you may add your self-determined (high-precision) parameter sets into this mat-file for
% later use. See helmert3d and helmertaffine3d for details.
%
% By now the following parameter sets are defined here (all being similarity transformations):
% 
% wgs84_to_dhdn         (Potsdam datum, Germany)
% wgs84_to_s4283        (S42/83 datum, former GDR)
% wgs84_to_mgi          (Austria)
% wgs84_to_lv95         (Switzerland)
% wgs84_to_osgb36       (Great Britain)
% lb72_to_dhdn          (Belgium datum to Potsdam datum)
% rdnl_to_dhdn          (Dutch datum to Potsdam datum)
%
%
% Feel free to add your own definitions. There are many pages across the internet where standard
% parameter sets can be found, e.g. http://www.globalmapper.com/helpv9/datum_list.htm

% Author:
% Peter Wasmeier, Technical University of Munich
% p.wasmeier@bv.tum.de
% Jan 18, 2006

Contact us at files@mathworks.com