I ahve a one integer value,,, suppose 100. I want it to put in a animation increasing from 0 to 100 with step increment of 1 ,,,How to do it,,and everytime my integer value will change

4 件のコメント

Oleg Komarov
Oleg Komarov 2012 年 8 月 3 日
Can you be more specific on what you mean by animation?
Arun Badigannavar
Arun Badigannavar 2012 年 8 月 6 日
I want to put some energy value in MATLAB animation ,,like,movement of waves when we drop the stone in water,,,the waves travel upto some limit from the point of drop in a water,,,in the same manner i want to show that there is an impact on a metal strucuture with some animation,,how to do it?
Arun Badigannavar
Arun Badigannavar 2012 年 8 月 7 日
please anybody helpout on this
Matt Kindig
Matt Kindig 2012 年 8 月 7 日
編集済み: Matt Kindig 2012 年 8 月 7 日
Well there are a couple of ways, depending on your desired file format. The easiest way is probably to use imwrite to write out a *.gif. You can create the desired image in a figure() within a loop and then use the method described here http://www.mathworks.com/support/solutions/en/data/1-48KECO/?solution=1-48KECO to animate it.

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange で Animation についてさらに検索

タグ

質問済み:

2012 年 8 月 3 日

Community Treasure Hunt

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

Start Hunting!

Translated by