Ellipse - plot an ellipse according to 3 points

版本 1.1.0.0 (2.7 KB) 作者: Noam Greenboim
ELLIPSE plots an ellipse, and returns its values using 3 points selected by the user on the figure.
423.0 次下载
更新时间 2014/11/26

查看许可证

You can select 3 points in an existing figure or a new one, and according to your selection - you can draw an ellipse.
The first 2 points are the vertices (the edges of the major / minor axis) and the 3rd point can be every point on the ellipse. In case that the user selects an impossible point (meaning no ellipse can pass through the 3 points), the function returns NaN's and the result in the figure window is just a flat line.
During the code development, I was assisted by Roger Stafford's answer and Wikipedia
http://www.mathworks.com/matlabcentral/answers/86615-how-to-plot-an-ellipse

引用格式

Noam Greenboim (2024). Ellipse - plot an ellipse according to 3 points (https://www.mathworks.com/matlabcentral/fileexchange/48569-ellipse-plot-an-ellipse-according-to-3-points), MATLAB Central File Exchange. 检索来源 .

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

Community Treasure Hunt

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

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

picture updated

1.0.0.0