raytrace

A function to model acoustic refraction due to variations in sound speed.

Download
Download

You are now following this Submission

Cite As

Val Schmidt (2026). raytrace (https://in.mathworks.com/matlabcentral/fileexchange/26253-raytrace), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired: Water sound speed calculator

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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

Fixed bug which prevented handling of launch angles above horizontal. Make code MLINT green compatible with R2013a.

Download
1.4.0

Fixed bug that prevented proper ray tracing for rays with launch angles above horizontal.
Fixed bug in which a discontinuity was created as rays passed through a caustic.

Download
1.0.0

Download