fd1d_advection_lax_wendroff_test, a MATLAB code which calls fd1d_advection_lax_wendroff(), which applies the finite difference method to solve the time-dependent advection equation ut = - c * ux in one spatial dimension, with a constant velocity, using the Lax-Wendroff method.
The computer code and data files described and made available on this web page are distributed under the MIT license
fd1d_advection_lax_wendroff, a MATLAB code which applies the finite difference method (FDM) to solve the time-dependent advection equation ut = - c * ux in one spatial dimension, with a constant velocity, using the Lax-Wendroff method to treat the time derivative.