annotate rickerWavelet.m @ 1269:5fa2f62a58a1 feature/poroelastic

Add class for upwind D1 based on the standard norm matrices
author Martin Almquist <malmquist@stanford.edu>
date Sun, 31 May 2020 20:16:54 -0700
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