<< CL_fr_ter2topoN DEPRECATED CL_gm_equatorialOverlap >>

CelestLab >> DEPRECATED > CL_fr_topoN2ter

CL_fr_topoN2ter

Topocentric North frame to terrestrial frame vector transformation - DEPRECATED

Calling Sequence

[pos_ter, vel_ter, jacob] = CL_fr_topoN2ter(orig [,pos_topoN,vel_topoN,er,obla])

Description

Parameters

orig:

[lon;lat;alt] Topocentric frame origin in elliptical (geodetic) coordinates [rad;rad;m] (3x1 or 3xN)

pos_topoN:

(optional) [X;Y;Z] Position vector relative to topocentric North frame [m] (3x1 or 3xN)

vel_topoN:

(optional) [Vx;Vy;Vz] Velocity vector relative to topocentric North frame [m/s] (3x1 or 3xN)

er:

(optional) Planet equatorial radius (default is %CL_eqRad) [m]

obla:

(optional) Planet oblateness (default is %CL_obla)

pos_ter:

[X;Y;Z] Position vector relative to terrestrial frame [m] (3xN)

vel_ter:

(optional) [Vx;Vy;Vz] Velocity vector relative to terrestrial frame [m/s] (3xN)

jacob:

(optional) Transformation jacobian d(x,y,z,vx,vy,vz)_ter/d(x,y,z,vx,vy,vz)_topoN (6x6xN)

Authors

Bibliography

See also

Examples

orig = [%pi/4;%pi/3;100];

// Compute only jacobian :
[pos,vel,jacob] = CL_fr_topoN2ter(orig)

// Compute position and velocity :
pos_topoN = [ 50; 25; 32 ];
vel_topoN = [ 70; 100; 0 ];
[pos,vel] = CL_fr_topoN2ter(orig,pos_topoN,vel_topoN)

// Compute position only (2 position vectors) :
[pos] = CL_fr_topoN2ter(orig,[pos_topoN, pos_topoN])

// Compute 2 positions (corresponding to 2 origins) :
[pos] = CL_fr_topoN2ter([orig,orig],[pos_topoN, pos_topoN])

Report an issue
<< CL_fr_ter2topoN DEPRECATED CL_gm_equatorialOverlap >>