How to make a movie in MatLab
frame by frame


Begin your Matlab session


Create a series of movie frames, one at a time (in a loop). I use postscript format because the images will be small...


Run the Matlab m-file, to create the plots


You will see the plots appear, one frame at a time...


Here are the 10 plots, plot1.ps thru plot10.ps


Open the XnView (free) software application


Use the Tools -> MultiConvert option to change the format of the files from PostScript to GIF.


Add the files ...



Make sure you save them as GIFs


Now you have a sequence of GIFs


Open up Microsoft's GIF Animator application



Open up the LAST frame



Now, INSERT the next to the last frame. Insert places the image BEFORE the selected frame, that is why we do it backwards. (go figure...)


Keep on inserting frames (in reverse order)...


Now use the PREVIEW feature


Here is the built in player


Now use the SAVE AS button (don't use the SAVE! since it will overwrite the current image frame)


Open the move in Internet Explorer to test it


Enjoy the movie!