How can I find the inverse of a Ricker wavelet

I want to find the inverse of a Ricker wavelet.
I have generated the wavelet using the following code
function y=wavelet(dt,nt,f,delay)
t=(0:(nt-1))*dt;
t=t-delay;
tmp=pi*pi*f*f;
t2=t.*t;
y=(1-2*tmp*t2).*exp(-tmp*t2);
end
I tried to use fft and reciprocate the function (i.e.1/Wavelet) and return it back in time by ifft but I face the problem of dividing by zero. I looked into many ways to regularize it but it doesn't seem to give me a good result.
What is the best way to find the inverse wavelet.
I appreciate your help
Thanks

 Accepted Answer

https://in.mathworks.com/help/wavelet/ref/icwt.html
https://in.mathworks.com/help/wavelet/ref/mexihat.html

More Answers (0)

Categories

Find more on Wavelet Toolbox in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!