view rickerWavelet.m @ 931:384ca2331a12 feature/timesteppers

Make Rungekutta class allow for discrete data.
author Martin Almquist <malmquist@stanford.edu>
date Mon, 03 Dec 2018 16:26:44 -0800
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