annotate rickerWavelet.m @ 846:c6fcee3fcf1b feature/burgers1d

Add generalized RungeKutta and RungeKuttaRV class which extracts its coefficients from a butcher tableau, specified on the scheme.
author Vidar Stiernström <vidar.stiernstrom@it.uu.se>
date Thu, 20 Sep 2018 17:51:19 +0200
parents 905612b7f3d4
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
661
905612b7f3d4 Add function for rickerWavelet
Jonatan Werpers <jonatan@werpers.com>
parents:
diff changeset
1 function y = rickerWavelet(x, x0, A)
905612b7f3d4 Add function for rickerWavelet
Jonatan Werpers <jonatan@werpers.com>
parents:
diff changeset
2 y = (1-2*pi^2*A^2*(x-x0).^2).*exp(-pi^2*A^2*(x-x0).^2);
905612b7f3d4 Add function for rickerWavelet
Jonatan Werpers <jonatan@werpers.com>
parents:
diff changeset
3 end