view rickerWavelet.m @ 965:db3411264b96 feature/poroelastic

Remove use of tensor library in B assembly
author Martin Almquist <malmquist@stanford.edu>
date Sat, 22 Dec 2018 16:41:17 +0100
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