Vibrating String Simulation

STRING_SIMULATION is a MATLAB program which simulates the behavior of a vibrating string by solving the corresponding initial boundary value problem (IBVP).


The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.


STRING_SIMULATION is available in a C version and a C++ version and a FORTRAN90 version and a MATLAB version.

Related Data and Programs:

BVP4C, MATLAB programs which illustrate how to use the MATLAB command bvp4c(), which can solve boundary value problems (BVP's) in one spatial dimension.

FD1D_WAVE, a MATLAB program which applies the finite difference method to solve a version of the wave equation in one spatial dimension.


  1. George Lindfield, John Penny,
    Numerical Methods Using MATLAB,
    Second Edition,
    Prentice Hall, 1999,
    ISBN: 0-13-012641-1,
    LC: QA297.P45.

Source Code:

Examples and Tests:

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

Last revised on 03 December 2012.