Animating Simulation Results
The results obtained from running the simulations described in this book are generally provided in the form of a matrix. This matrix includes the solutions for each time step and provides the means of generating a graphical sequence of images that can be used to create an animation. An animation creates the effect of motion and often provides the viewer with a clearer insight into the physical process being analyzed than purely static images. In this appendix we demonstrate some Matlab methods and the corresponding code for creating AVI movies and animated GIF files.
Figure: Animated plots from Listing 8 code showing time
sequence of r- plane results
from program pde_2_main of Chapter 14