/ concept-collection / sample-6
Sign in
concept-collection / sample-6
sample-6 / lib / mexican_hat.m
5 lines · 122 BCodeBlameHistory
0a4fb76Initial commitJeremy Magland 1function z = mexican_hat(x, y)
2% MEXICAN_HAT Ricker wavelet surface.
3r2 = x.^2 + y.^2;
4z = (1 - r2) .* exp(-r2 / 2);
5end
moveopenescclose