hourglass(time)

This is an hourglass simulation.
ダウンロード: 214
更新 2017/1/8

ライセンスの表示

編集メモ: This file was selected as MATLAB Central Pick of the Week

This is an hourglass simulation.
Called without input arguments, it runs forever unless you close the figure. Called with input argument time, it will run once for the given period of time (in seconds).
Usage:
hourglass;
OR
hourglass(t);
You can expect more or less correct timing for t>20.
t is arbitrary, but i recommend to chose values between 30s and 600s.

Tillmann Stuebler, Dec 2016

引用

Tillmann Stübler (2024). hourglass(time) (https://www.mathworks.com/matlabcentral/fileexchange/60580-hourglass-time), MATLAB Central File Exchange. 取得済み .

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

Community Treasure Hunt

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

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

it is now possible to call hourglass with a parameter t to let it run approximately t seconds.
Some modifications in equations of motion, and solver changed from ode45 to ode23.

1.0.0.0