Wave Equation Explorer

Live Script exploring reflection and transmission of waves in one dimension.
16 Downloads
Updated 9 Feb 2026

View License

This Live Script explores numerically the scalar wave equation representing transverse waves on a string or longitudinal acoustic waves in one dimension. It propagates a gaussian or square pulse and illustrates and animates reflection and transmission at a boundary where the wave speed changes.
This script may interest students and instructors of physics. 'Try this' suggestions and and coding 'Challenges' are included for further exploration. The script is indebted to Ref[1].

Cite As

Duncan Carlsmith (2026). Wave Equation Explorer (https://uk.mathworks.com/matlabcentral/fileexchange/176748-wave-equation-explorer), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2024b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Version Published Release Notes
1.01

Added interactive_examples tag

1.0.0