Distance between points and ellipse
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 (2024). Distance between points and ellipse (https://github.com/rodyo/FEX-distancePointEllipse/releases/tag/v1.4), GitHub. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired by: Distance from points to an ellipse
Inspired: Distance from points to an ellipse
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Versions that use the GitHub default branch cannot be downloaded
Version | Published | Release Notes | |
---|---|---|---|
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
|
|
|
1.2.0.0 | Updated contact info |
||
1.1.0.0 | (1) Changed description (should've used the "preview" button..)
|
||
1.0.0.0 |