creating a movie file from a group of plots?
1 回表示 (過去 30 日間)
古いコメントを表示
This is what I have but i keep getting two forms of error when I run it!
F(1:length(angle2)) = struct('cdata',[],'colormap',[]);
for i = 1:20:length(angle2) x = cos(angle2(i)); y = sin(angle2(i)); plot([0,1],[0,0],[0,-x],[0,y]) axis([-1.5 1.5 -1.5 1.5])
F(i) = getframe;
end movie(F,2) movie2avi(F, '1moviename.avi', 'compression', 'None');
0 件のコメント
回答 (1 件)
Image Analyst
2014 年 11 月 26 日
See the FAQ: http://matlab.wikia.com/wiki/FAQ#How_can_I_create_a_movie_from_my_MATLAB_figures.3F and my demo m-file I attached here.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Creating, Deleting, and Querying Graphics Objects についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!