Distance between points and ellipse

Compute the distances between an ellipse and an arbitrary number of points, in 3D

https://github.com/rodyo/FEX-distancePointEllipse

You are now following this Submission

The solution to the problem of calculating the distance between an ellipse and a point is less than straightforward. The problem can be solved analytically however, which boild down to solving a quartic equation in cos(f), with (f) the true anomaly on the ellipse.
This submission implements this and computes the distances between any 3-D ellipse and an arbitrary number of 3-D points.
This is part of:
Ik-Sung Kim: "An algorithm for finding the distance between two ellipses". Commun. Korean Math. Soc. 21 (2006), No.3, pp.559-567
See also my other submission, distanceEllipseEllipse.

Cite As

Rody Oldenhuis (2026). Distance between points and ellipse (https://github.com/rodyo/FEX-distancePointEllipse/releases/tag/v1.4), GitHub. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes Action
1.4

See release notes for this release on GitHub: https://github.com/rodyo/FEX-distancePointEllipse/releases/tag/v1.4

1.3.0.0

Description update
[linked to Github]

1.2.0.0

Updated contact info

1.1.0.0

(1) Changed description (should've used the "preview" button..)
(2) Removed the ML 2009a/b tilde-syntax for better compatibility
(3) corrected small bug in the error handling (bracket bug)

1.0.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.