How can I animate my 3d surface like this?
조회 수: 4 (최근 30일)
이전 댓글 표시
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
댓글 수: 0
답변 (2개)
Titus Edelhofer
2014년 11월 12일
Hi,
take a look at the function
doc VideoWriter
which includes a simple example.
Titus
Image Analyst
2014년 11월 18일
See attached demo where I make a movie from animation being done by the surf() function.
댓글 수: 2
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
참고 항목
카테고리
Help Center 및 File Exchange에서 Animation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!