creating a movie file from a group of plots?

1 view (last 30 days)
Ronan
Ronan on 26 Nov 2014
Answered: Image Analyst on 26 Nov 2014
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');

Answers (1)

Image Analyst
Image Analyst on 26 Nov 2014

Categories

Find more on Animation in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!