Animation in matlab
조회 수: 4 (최근 30일)
I have an assignment to do which includes animation a stick man (stick figure) such that it can move its hands and legs and possibly also change the colour of it face. Is there a possibility to do this? Thanks for any help to be provided.
Sean de Wolski 2012년 2월 27일
Yes. Create a bunch of lines using line(). Then modify their xdata and ydata properties to reflect new positions. You could do this with a for-loop and a pause() or even better with a timer().