Contents

LOOKATSPHEROID

Calculates line-of-sight intersection with Earth (or other ellipsoid) surface from above surface ./ orbit

Inputs

Outputs

Values will be NaN if the line of sight does not intersect.

Algorithm based on: https://medium.com/@stephenhartzell/satellite-line-of-sight-intersection-with-earth-d786b4a6a9b6 Stephen Hartzell