Move Sphere
版本 1.1.0.0 (3.1 KB) 作者:
Husam Aldahiyat
Creates a randomly coloured sphere and moves it from point A to point B with speed V.
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.
引用格式
Husam Aldahiyat (2024). Move Sphere (https://www.mathworks.com/matlabcentral/fileexchange/23097-move-sphere), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2007a
兼容任何版本
平台兼容性
Windows macOS Linux类别
在 Help Center 和 MATLAB Answers 中查找有关 Scatter Plots 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!