annotate rickerWavelet.m @ 745:00eb5db89da5 feature/grids

Fix bug in draw.promprt_point() Problems with registering events, Fixed by attaching events to the figure instead of the axis
author Jonatan Werpers <jonatan@werpers.com>
date Wed, 28 Mar 2018 12:50:06 +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