The Shallow Water Equations

SHALLOW_WATER_2D is a MATLAB program which simulates a system governed by the shallow water equations, by Cleve Moler.

The original version of this program can be found at


SHALLOW_WATER_2D is available in a MATLAB version.

Related Data and Programs:

SHALLOW_WATER_1D a MATLAB program which solves the 1D shallow water equations.


Cleve Moler


  1. Cleve Moler,
    Experiments with MATLAB,

Source Code:

You can go up one level to the MATLAB source codes.

Last modified on 22 February 2010.