Interactive GUI: Animated conic section through five points

版本 1.0.0.0 (1.6 KB) 作者: Michael Kleder
Drag each of five data points in the GUI window to animate a conic section (Symbolic Math Toolbox).
4.3K 次下载
更新时间 2006/11/13

无许可证

(1) Use the mouse to click and drag the red data points within the dotted gray box, and observe the changes in the conic section in real time.
(2) This function requires the symbolic math toolbox and is tested using Matlab version 7.1 (R14) service pack 3.
(3) This function illustrates some techniques in GUI manipulation, computation of a conic-sections using the general determinant expression, and the "ezplot" function. Nevertheless, the code is developmental and hasn't been polished or heavily commented.
(4) "ezplot" is a really handy function, but it was not designed for speed. Using it repeatedly for animation slows things down enough for older machines to exhibit some lag in the animation.
(5) Parabolas require exact point placement. It is highly unlikely that you will get a parabola after the initial startup.
(6) Tested but no warranty; use at your own risk.
(7) Michael Kleder, November 2006

引用格式

Michael Kleder (2024). Interactive GUI: Animated conic section through five points (https://www.mathworks.com/matlabcentral/fileexchange/12981-interactive-gui-animated-conic-section-through-five-points), MATLAB Central File Exchange. 检索时间: .

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

Community Treasure Hunt

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

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