Solving the 1-D wave equation using Leap frog Method.

Version 1.12.0.0 (2.14 KB) by Sazzad
1-D wave equation is solved using Leap frog Method and periodic boundary condition is used
579 Downloads
Updated 28 Nov 2015

View License

We are interested in obtaining the solution of the 1-D wave equation using Leap-frog Method.
And boundary condition is periodic. However, initial condition is
T(x,0)=sin(10*pi*x); 0<= x<= 0.1
=0; 0.1<= x<= 1
u =0.25

Cite As

Sazzad (2026). Solving the 1-D wave equation using Leap frog Method. (https://www.mathworks.com/matlabcentral/fileexchange/54204-solving-the-1-d-wave-equation-using-leap-frog-method), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Waves in Help Center and MATLAB Answers
Version Published Release Notes
1.12.0.0