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.
Citation pour cette source
Rody Oldenhuis (2025). Distance between points and ellipse (https://github.com/rodyo/FEX-distancePointEllipse/releases/tag/v1.4), GitHub. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
Tags
Remerciements
Inspiré par : Distance from points to an ellipse
A inspiré : 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!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Les versions qui utilisent la branche GitHub par défaut ne peuvent pas être téléchargées
Version | Publié le | Notes de version | |
---|---|---|---|
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 |