Transformation: Cartesian (WGS84) to topozentric coordinates.
[A, Z, S] = xyz2asz(Xr, Yr, Zr, Xs, Ys, Zs)
x-coordinate of station [m]
y-coordinate of station [m]
z-coordinate of station [m]
x-coordinate of sv [m]
y-coordinate of sv [m]
z-coordinate of sv [m]
azimuth under which the sv is observed [degree]
zenith angle under which the sv is observed [degree]
distance between station and sv [m]
Transformation: Cartesian (WGS84) to topozentric coordinate.
Formulas from Heck (1988)
(matrix aware)
No warranty, there are no inputchecks.