What is the equation for Mexican hat wavelet defined by 'mexihat' function

6 views (last 30 days)
I am wondering what would be the equation for the Mexican hat wavelet defined by 'mexihat' function as its equation is not given in the discription. Not just this function, for some other functions also equations are not given.
I have done the following way, both are not equal and also I am unable to put [lb,ub] variables in the equation.
[m_r,x] = mexihat(-1,1,45);

Accepted Answer

Maria Lucia Cardinali
Maria Lucia Cardinali on 9 Jun 2022
Edited: Maria Lucia Cardinali on 9 Jun 2022
If you open mexihat, you can see that the value is calculated as:
out2 = linspace(LB,UB,N); % wavelet support.
out1 = out2.^2;
out1 = (2/(sqrt(3)*pi^0.25)) * exp(-out1/2) .* (1-out1);
The formula is: , for .
  1 Comment
Palguna Gopireddy
Palguna Gopireddy on 13 Jun 2022
Could you tell how to find the equation for chebwin function.
It is using 'chebwinx' after opening it.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by