MATLAB Answers

how can i do this animation in matlab

1 view (last 30 days)
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

  0 Comments

Sign in to comment.

Accepted Answer

Walter Roberson
Walter Roberson on 15 Jan 2013
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 Comment

Sign in to comment.

More Answers (0)

Sign in to answer this question.