Mercurial > repos > public > sbplib
view rickerWavelet.m @ 1282:a52033540dd9 feature/poroelastic
Make forcingSetup return empty array instead of zero function if all boundary data functions are empty.
author | Martin Almquist <malmquist@stanford.edu> |
---|---|
date | Mon, 15 Jun 2020 16:11:35 -0700 |
parents | 905612b7f3d4 |
children |
line wrap: on
line source
function y = rickerWavelet(x, x0, A) y = (1-2*pi^2*A^2*(x-x0).^2).*exp(-pi^2*A^2*(x-x0).^2); end