文件名称:Bouncing_Smiley_Face2
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:5.34kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
用matlab写的一个模仿抛物线动作的动画。可以自己设定加速度、启示位置等数值。-The laws for rotation are probably wrong (I made them up actually), but that s not what this file is about. Shown here is a very simple code that creates a nice animation, which can be quickly edited to suit anyone s needs.
The parameters are ball radius, gravity, initial velocity in the Y direction, initial velocity in the X direction, vertical speed conservation ( ), horizontal speed conservation ( ) and initial angular velocity.
Please note that the ball may stop moving at different locations for different trials, even with the same input parameters. This is due to the slight randomization of the deformations of the ball and the ground, which could lead to the ball getting "stuck" to the ground at times and stopping there. This is normal and deliberate.
The parameters are ball radius, gravity, initial velocity in the Y direction, initial velocity in the X direction, vertical speed conservation ( ), horizontal speed conservation ( ) and initial angular velocity.
Please note that the ball may stop moving at different locations for different trials, even with the same input parameters. This is due to the slight randomization of the deformations of the ball and the ground, which could lead to the ball getting "stuck" to the ground at times and stopping there. This is normal and deliberate.
相关搜索: matlab 动画
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Bouncing Smiley Face2/bb2.m
Bouncing Smiley Face2/face.jpg
Bouncing Smiley Face2/license.txt
Bouncing Smiley Face2
Bouncing Smiley Face2/face.jpg
Bouncing Smiley Face2/license.txt
Bouncing Smiley Face2
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.