diff rickerWavelet.m @ 713:348d5bcf7daf feature/quantumTriangles

Merge with feature/frids
author Ylva Rydin <ylva.rydin@telia.com>
date Tue, 20 Feb 2018 15:00:30 +0100
parents 905612b7f3d4
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/rickerWavelet.m	Tue Feb 20 15:00:30 2018 +0100
@@ -0,0 +1,3 @@
+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