solve 2d wave equation with FDM

With 4 visualizations: colormap, surface, refraction, reflection
5K Downloads
Updated 17 Sep 2010

View License

http://simulations.narod.ru/
Solve 2d wave equation with Finite Difference Method. Theory described in description.docx. Droplet put on the water surface to start waves. There is a decay in wave equation. conv2 function used for faster calculations.
as_colormap.m - visualization of waves as colormap.
as_surface.m - visualization of waves as surface.
refraction.m - visualization of waves with refraction
reflection.m - visualization of waves with reflection
_movie files makes movie to avi and gif file.

also .gif files included to show animated visualizations.

Cite As

Maxim Vedenyov (2024). solve 2d wave equation with FDM (https://www.mathworks.com/matlabcentral/fileexchange/28736-solve-2d-wave-equation-with-fdm), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2009b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on General Physics in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0