Function to calculate satellite coordinates (xyz) from the ephemerides of the satellite.
[xs,ys,zs,delta_Ts,delta_rho_rel] = eph2xyz(tc,Prs,a0,a1,a2,C_rs,delta_n,M_0,C_uc,e,C_us,a,t_e,C_ic,Omega_0,C_is,i_0,C_rc,omega_klein,Omega_dot,i_dot)
referencetime of clockparameters (time of clock), i.g. the same as t_e (quod vide).
Pseudorange [ ]
SV-clock-offset at reference epoch t_c
[s]
SV-clock-drift at reference epoch t_c
[s/s]
SV-frequency-drift (ageing) at reference epoch t_c
[s/s²]
, i.a. =0
semi-mayor axis of the Keplerellipse [m]
(Attention! also possible sqrt(a) then [sqrt(m)]).
time of ephemerides
numerical excentricity [1]
inclination at reference epoch t_e
[rad]
rectaszension of ascending node at reference epoch t_e
[rad]
argument of perigee [rad]
mean anomalie at reference epoch t_e
[rad]
alteration rate of rectaszension
[rad/s]
alteration rate of inclination [rad/s]
(=di/dt).
adjustment of mean motion [rad/s]
amplitude of the sinus-harmonic correction term for argument
of latitude u [1]
amplitude of the cosinus-harmonic correction term for argument
of latitude u [1]
amplitude of the sinus-harmonic correction term for the
inclination i [1]
amplitude of the cosinus-harmonic correction term for
inclination i [1]
amplitude of the sinus-harmonic correction term for geocentric
distance r [1]
amplitude of the cosinus-harmonic correktion term for
geocentric distance r [1]
SV-coordinate X [m]
SV-coordinate Y [m]
SV-coordinate Z [m]
SV-clock diference [s]
relativistic effect due to orbit excentricity [m]
Function to calculate satellite coordinates (xyz) from the ephemerides of the satellite.
(possibly matrix aware)
No warranty, there are no inputchecks.