How can I animate my 3d surface like this?

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 日

0 投票

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 日

0 投票

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

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

カテゴリ

ヘルプ センター および File ExchangeAnimation についてさらに検索

質問済み:

A
A
2014 年 11 月 12 日

コメント済み:

2021 年 8 月 22 日

Community Treasure Hunt

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

Start Hunting!

Translated by