matlab_movie


matlab_movie, a MATLAB code which creates a movie or animation by generating a sequence of graphics frames and then stringing them together.

Of course, you need to have a series of images that do make a sensible sequence, you need to make sure that the individual images use the same picture size, plot scale, color bars and so on. Of things to worry about include figuring out what kind of movie file you want to create. But let's get on to the fun part!

Licensing:

The information on this web page is distributed under the MIT license.

Related Data and codes

cavity_flow_movie, a MATLAB code which animates the velocity solutions for the driven cavity;

cvt_1_movie, a MATLAB code which creates an animation of the evolution of a CVT;

cvt_2_movie, a MATLAB code which creates an animation of the evolution of a CVT;

cvt_3_movie, a MATLAB code which creates an animation of the evolution of a CVT;

cvt_4_movie, a MATLAB code which creates an animation of the evolution of a CVT;

cvt_corn_movie, a MATLAB code which makes a movie in which the growth of a corn kernel is simulated using a Centroidal Voronoi Tessellation (CVT).

file_name_sequence, a MATLAB code which generates a sequence of filenames that can be used when generating images for an animation.

gray_scott_movie, a MATLAB code which solves versions of the partial differential equation (PDE) known as the Gray-Scott reaction diffusion equation, converting the solutions to a sequence of graphics frames, which are then assembled into a movie.

peak_movie, a MATLAB code which creates the pieces of an animation, one frame at a time. Each frame is independently created and saved as a JPEG file.

pendulum_double_ode_movie, a MATLAB code which sets up the double pendulum ordinary differential equation (ODE) for a given set of initial conditions and parameters, and makes a movie of the results.

shallow_water_1d_movie, a MATLAB code which solves the partial differential equation (PDE) known as the shallow water equations (SWE), converting the solutions to a sequence of graphics frames, which are then assembled into a movie.

spiral_pde_movie, a MATLAB code which solves a pair of reaction-diffusion partial differential equations (PDE) over a rectangular domain with periodic boundary condition, whose solution is known to evolve into a pair of spirals. The sequence of solutions is bundled into a movie.

tetrahedron_slice_movie, a MATLAB code which is given a tetrahedron and a vector, and displays an evenly spaced sequence of planes that intersect the tetrahedron and are normal to the vector.


Last revised on 25 June 2024.