Converts an ECEF position vector to an n-vector and depth.
An ECEF position vector.
A reference ellipsoid.
Coordinate frame in which the vectors are decomposed.
Representation of position B, decomposed in E, and depth in meters of system B relative to the ellipsoid.
https://github.com/FFI-no/n-vector/blob/f77f43d18ddb6b8ea4e1a8bb23a53700af965abb/nvector/p_EB_E2n_EB_E.m
Converts an ECEF position vector to an n-vector and depth.