Distance from points to an ellipse
by Matthew Arthington
04 Jan 2010
(Updated 11 Jan 2010)
This function can calculate the geometric distance from one or more points to an ellipse in 2D.
|
Watch this File
|
| File Information |
| Description |
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 |
| Acknowledgements |
Distance Between Points And Ellipse
inspired this file.
This file inspired
Distance Between Points And Ellipse.
|
| MATLAB release |
MATLAB 7.7 (R2008b)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Updates |
| 08 Jan 2010 |
Fixed a bug in original file. |
| 11 Jan 2010 |
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. |
|
Contact us