Move Sphere
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.
Citation pour cette source
Husam Aldahiyat (2026). Move Sphere (https://fr.mathworks.com/matlabcentral/fileexchange/23097-move-sphere), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
Tags
Remerciements
A inspiré : Graphical Simulation of an Elevator, MATLAB Pool
Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
| Version | Publié le | Notes de version | |
|---|---|---|---|
| 1.1.0.0 | New features, added example interface. |
||
| 1.0.0.0 |
