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
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Wavelet Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!