2D wave visualiser

Script to visualise 2D wave equation with an initial Gaussian displacement

You are now following this Submission

This script produces a mesh and colourmap to visualise the 2D wave equation in a confined control volume over a few hundred time intervals. It works by discretising the general 2D wave equation and iterating over the timesteps to calculate the accelerations, velocities, and positions of each element in each timestep. The script is sensitive to the choice of c1, c2 and dt, (inertia, stiffness, and timestep values) so it is not recommended to edit these constants as it may break the programme. The other constants and initial conditions are left to play with :)

This script was adapted from Kempf, Andreas M. (March 2007); Imperial College Department of Mechanical Engineering. Its most recent author wrote it for the AERO40003 Computing module of the Aeronautical Engineering course.

Cite As

Sevan Vlieghe (2026). 2D wave visualiser (https://in.mathworks.com/matlabcentral/fileexchange/84064-2d-wave-visualiser), MATLAB Central File Exchange. Retrieved .

Tags

Add Tags

Add the first tag.

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0