No BSD License  

Highlights from
Interactive GUI: Animated conic section through five points

3.66667

3.7 | 3 ratings Rate this file 5 Downloads (last 30 days) File Size: 3.85 KB File ID: #12981
image thumbnail

Interactive GUI: Animated conic section through five points

by Michael Kleder

 

12 Nov 2006 (Updated 13 Nov 2006)

Drag each of five data points in the GUI window to animate a conic section (Symbolic Math Toolbox).

| Watch this File

File Information
Description

(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

Required Products Symbolic Math Toolbox
MATLAB release MATLAB 7.1.0 (R14SP3)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (3)
29 Nov 2006 wael ghobashy  
08 May 2007 Djexplo none

A good start for your own drag/move markers script.

26 Feb 2008 afsda fsdfdsf  
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
data exploration Michael Kleder 22 Oct 2008 08:48:55
interactive gui Michael Kleder 22 Oct 2008 08:48:55
animated Michael Kleder 22 Oct 2008 08:48:55
symbolic math toolbox Michael Kleder 22 Oct 2008 08:48:55
points Michael Kleder 22 Oct 2008 08:48:55
conic Michael Kleder 22 Oct 2008 08:48:55
animation Cristina McIntire 07 Nov 2008 12:54:39

Contact us at files@mathworks.com