Distance from points to an ellipse

This function can calculate the geometric distance from one or more points to an ellipse in 2D.
1.4K 次下载
更新时间 2010/1/11

查看许可证

This function uses a dumb search to find the minimum distance between a point (or many points) and an ellipse. It has controllable accuracy which may be reduced for faster computation.

*Update 12 Jan 2010: Rody Oldenhuis has submitted a version of this file (possibly only for versions >=Matlab 2009a) that works for general 3D ellipses and should be more efficient than this one. Please see acknowledgements below.

*Update 08 Jan 2010: fixed a bug in original file

引用格式

Matthew Arthington (2024). Distance from points to an ellipse (https://www.mathworks.com/matlabcentral/fileexchange/26261-distance-from-points-to-an-ellipse), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2008b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Computational Geometry 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.3.0.0

Added a link to point to a file that has been uploaded in response to my original description, which said that there exists a more efficient method than this, but it has not been implemented yet.

1.1.0.0

Fixed a bug in original file.

1.0.0.0