Here is a simple MATLAB code to plot the Ricker wavelet using the equation of the Ricker model.
main.m404 chars15 lines
This will create a plot of the Ricker wavelet with a frequency of 30 Hz and a peak amplitude at 0.04 seconds. You can adjust these parameters to create different wavelets.
gistlibby LogSnag