Move Sphere

versión 1.1.0.0 (3.06 KB) por Husam Aldahiyat
Creates a randomly coloured sphere and moves it from point A to point B with speed V.

2,6K descargas

Actualizada 27 Feb 2009

Ver licencia

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.

Citar como

Husam Aldahiyat (2022). Move Sphere (https://www.mathworks.com/matlabcentral/fileexchange/23097-move-sphere), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2007a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Agradecimientos

Inspiración para: Graphical Simulation of an Elevator, MATLAB Pool

Community Treasure Hunt

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

Start Hunting!