<< CL_fr_tnw2inertial Coordinates and frames CL_fr_topoNMat >>

CelestLab >> Coordinates and frames > CL_fr_tnwMat

CL_fr_tnwMat

Inertial frame to "tnw" local orbital frame transformation matrix

Calling Sequence

M = CL_fr_tnwMat(pos_car,vel_car)

Description

Parameters

pos_car:

satellite's position relative to the inertial frame [m] (3xN)

vel_car:

satellite's velocity relative to the inertial frame [m/s] (3xN)

M :

inertial frame to "tnw" local frame transformation matrix (3x3xN)

Bibliography

Authors

See also

Examples

// Inertial to "tnw" :
pos_car = [[3500.e3; 2500.e3; 5800.e3], [4500.e3; 2100.e3; 6800.e3]];
vel_car = [[1.e3; 3.e3; 7.e3], [2.e3; 3.e3; 6.e3]];
M = CL_fr_tnwMat(pos_car, vel_car)
pos_tnw = M * pos_car;

Report an issue
<< CL_fr_tnw2inertial Coordinates and frames CL_fr_topoNMat >>