Move Sphere
by Husam Aldahiyat
25 Feb 2009
(Updated 27 Feb 2009)
Creates a randomly coloured sphere and moves it from point A to point B with speed V.
|
Watch this File
|
| File Information |
| Description |
movsph(r,A,B,V,op1) creates a randomly coloured sphere with radius r and moves it from point A to point B with speed V.
This can be useful when designing graphical simulations of statistical equations or when you want to moves something around (easier than plotting a person and moving it). The code plots the ground and adjusts the axis too if it is to be used on its own.
Accompanying the main code is a simple interface that makes use of it. |
| Acknowledgements |
This submission has inspired the following:
Graphical Simulation of an Elevator, MATLAB Pool
|
| MATLAB release |
MATLAB 7.4 (R2007a)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Updates |
| 27 Feb 2009 |
New features, added example interface. |
|
Contact us at files@mathworks.com