annotate rickerWavelet.m @ 1286:4cb627c7fb90 feature/boundary_optimized_grids

Make D1Nonequidistant use the grid generation functions accurate/minimalBoundaryOptimizedGrid and remove grid generation from +implementations
author Vidar Stiernström <vidar.stiernstrom@it.uu.se>
date Wed, 01 Jul 2020 13:43:32 +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