How can I find the inverse of a Ricker wavelet

2 views (last 30 days)
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

Abhishek Ballaney
Abhishek Ballaney on 19 Mar 2018
https://in.mathworks.com/help/wavelet/ref/icwt.html
https://in.mathworks.com/help/wavelet/ref/mexihat.html

More Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!