Mercurial > repos > public > sbplib
view rickerWavelet.m @ 837:43a1c3ac07b1 feature/poroelastic
Make diracDiscr work for n dimensions. Add tests up to 3D.
author | Martin Almquist <malmquist@stanford.edu> |
---|---|
date | Wed, 05 Sep 2018 18:09:18 -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