how can i do this animation in matlab

3 ビュー (過去 30 日間)
mangood UK
mangood UK 2013 年 1 月 15 日
hi..
during reading and see some video on youtube i note this video
i just need to know how to do this animation use matlab code just the animation>!!!
if any simple code i will be grateful
thank in advance
best regards

採用された回答

Walter Roberson
Walter Roberson 2013 年 1 月 15 日
Plot the circle.
Now use line() to draw the armature, using a higher LineWidth and a Marker of 's' (square) and a MarkerFaceColor of 'r' (red), possibly using a MarkerEdgeColor of 'k' (black). Store the handle of this line().
Then, at each step of the animation, set() the line XData and YData properties to reflect the new line position. Then call drawnow() to make the updated line show up.
  1 件のコメント
mangood UK
mangood UK 2013 年 1 月 15 日
thank..

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeAnimation についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by