Spherical coordinates to cartesian coordinates
[pos_car [,vel_car,jacob]] = CL_co_sph2car(pos_sph [,vel_sph])
Converts cartesian coordinates into spherical coordinates.
The input arguments can consist in position only, or position and velocity, in which case the derivatives of the spherical coordinates with respect to time are computed as well.
Notes:
- The transformation jacobian is computed if the corresponding output argument exists.
[lon;lat;r] Position vector in spherical coordinates [m,rad] (3xN)
(optional) [d(lon)/dt;d(lat)/dt;d(r)/dt] Derivatives / time of spherical coordinates [rad/s,m/s] (3xN)
[X;Y;Z] Position vector in cartesian coordinates [m] (3xN)
(optional) [Vx,Vy,Vz] Velocity vector in cartesian coordinates [m/s] (3xN)
(optional) Transformation jacobian (6x6xN)
CNES - DCT/SB
1) Mecanique Spatiale, Cnes - Cepadues Editions, Tome I, section 3.2.3 (Les reperes de l'espace et du temps, Relations entre les coordonnees)
2) CNES - MSLIB FORTRAN 90, Volume T (mt_geoc_car)