How can I animate my 3d surface like this?

조회 수: 4 (최근 30일)
A
A 2014년 11월 12일
댓글: Nitin Phadkule 2021년 8월 22일
Hi guys,
I want to present my data in a cool animated fashion as shown in this video: http://www.youtube.com/watch?v=JaMgi4XBjo8
Can this be done in MatLab? I'd be happy if the outputs were in form of a GIF or a movie?
Thank you

답변 (2개)

Titus Edelhofer
Titus Edelhofer 2014년 11월 12일
Hi,
take a look at the function
doc VideoWriter
which includes a simple example.
Titus
  댓글 수: 1
A
A 2014년 11월 18일
So VideoWriter seems like a good tool.
But I'm not sure how to rotate my 'view' or 'camera' in such a smooth fashion as portrayed in the video above?
Thanks for your help

댓글을 달려면 로그인하십시오.


Image Analyst
Image Analyst 2014년 11월 18일
See attached demo where I make a movie from animation being done by the surf() function.
  댓글 수: 2
Image Analyst
Image Analyst 2015년 1월 2일
To rotate your "camera", how about camorbit():
close all;
surf(peaks)
axis vis3d
for i=1:36
camorbit(10,0,'data',[0 1 0])
drawnow
pause(0.2);
end
Nitin Phadkule
Nitin Phadkule 2021년 8월 22일
short and useful, helped me to use

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Animation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by