view rickerWavelet.m @ 809:94f0f0b0d721 feature/poroelastic

Allow functions with variable number of arguments in grid.evalOn
author Jonatan Werpers <jonatan@werpers.com>
date Fri, 27 Jul 2018 10:13:02 -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