<< CL_fr_J20002ter Coordinates and frames CL_fr_inertial2tnw >>

CelestLab >> Coordinates and frames > CL_fr_inertial2qsw

CL_fr_inertial2qsw

Inertial to QSW local orbital frame vector transformation

Calling Sequence

[vect_qsw] = CL_fr_inertial2qsw(pos_car,vel_car,vect_inertial)

Description

Parameters

pos_car:

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

vel_car:

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

vect_inertial:

cartesian coordinates in the inertial frame [m] (3xN)

vect_qsw:

cartesian coordinates in the QSW local orbital frame [m] (3xN)

Bibliography

Authors

See also

Examples

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]];
vect_inertial = [[1;0;0] , [1;1;1]];
[vect_qsw] = CL_fr_inertial2qsw(pos_car,vel_car,vect_inertial)
<< CL_fr_J20002ter Coordinates and frames CL_fr_inertial2tnw >>