<< CL_fr_tnwMat Coordinates and frames CL_oe_car2cir >>

CelestLab >> Coordinates and frames > CL_fr_topoNMat

CL_fr_topoNMat

Topocentric North frame transformation matrix

Calling Sequence

M = CL_fr_topoNMat(orig)

Description

Parameters

orig:

Origin of the Topocentric North frame in elliptical (geodetic) coordinates [rad;rad;m] (3xN)

M :

Frame transformation matrix to the topocentric North frame (3x3xN)

Bibliography

Authors

Examples

// Conversion from ECF to topoN (change of origin included):
orig = [CL_deg2rad(0) ; CL_deg2rad(40) ; 0]; // ECF
M = CL_fr_topoNMat(orig);
pos = [ 1000.e3 ; 6578.e3 ; 2000.e3 ]; // ECF
pos_orig = CL_co_ell2car(orig); // orig in cartesian coord.
pos_topoN = M * (pos - pos_orig)

Report an issue
<< CL_fr_tnwMat Coordinates and frames CL_oe_car2cir >>