Search Contact information
University of Cambridge Home Department of Engineering
University of Cambridge >  Engineering Department >  computing help
next up previous contents
Next: Graphics and Objects Up: Graphics Previous: Plotting experimental data

Movies

To create an animated sequence you first need to draw and save each frame. This example creates a 16-frame movie then runs it 5 times.
% movie demo
M=moviein(16);
for j = 1:16
   plot(fft(eye(j+16)))
   M(:,j)= getframe;
end
movie(M,5)



© Cambridge University Engineering Dept
Information provided by Tim Love
2006-07-24