Introduction - If you have any usage issues, please Google them yourself
MATLAB function to initialize and call the solve_sps2d
function, which implements a 2-D solution of
the nonlinear wave equation using a psuedospectral
/staggered A-B method, including attenuation modeled
with two relaxation mechanisms.
This example demonstrates harmonic generation
within a plane wave given a B/A parameter of 5.2.
To increase the distance of propagation, scale the
sample grid (num_axpts) by a factor(s) of 2.