Billiard Ball Animation

This program animates the movement of a billiard ball.
ダウンロード: 4.8K
更新 2004/8/17

ライセンスの表示

This Program Performs the following:
(1) Animates the movement of a Billiard Ball on a table that has a surface friction (mu) and coefficient of restitution (e) for the sides and saves it as an AVI file.

(2) Outputs series of rows and columns that displays the stream data of (Time),(X),(Y),(V), and (th) to screen.

(3) Outputs the initial X-Y coordinates along with the final coordinated when the speed of the ball reaches zero.

(4) Plots 4 figures that shows:
a- (X vs. Y).
b- (Time vs. X).
c- (Time vs. Y).
d- (Time vs. Velocity).

(5) Saves the Above Plots as a (JPEG) file.

(6) Outputs series of rows and columns that displays the stream data of (Time),(X),(Y),(V), and (th) to a file.

TO RUN DEMO:
billiard(-1)

引用

Fahad Al Mahmood (2024). Billiard Ball Animation (https://www.mathworks.com/matlabcentral/fileexchange/4460-billiard-ball-animation), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R14
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersAnimation についてさらに検索

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0.0

Modified Demo example.