Front Cover.
A Compendium of Partial Differential Equation Models
Method of Lines Analysis with Matlab
William E Schiesser Graham W Griffiths
(Cambridge University Press, ISBN-13: 978-0-521-51986-1)
 
 


Appendix A6
Animating Simulation Results

Extract: ...

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.

 

 
 

Example Animation:

 

Figure: Plots from Listing 8 code showing time sequence of r- plane results
from program pde_2_main of Chapter 14