1D CWT using mexh from command not gui

12 views (last 30 days)
Rosanne Hart
Rosanne Hart on 12 Dec 2022
Edited: nick on 17 Nov 2023
I need to run a 1D continuous wavelet analysis on data using a mexican hat wavelet, however it needs to be conducted ~300 times therefore I need to have it coded rather than within the gui. I understand that there was a question asked a few years back and it seemed there was no functionality for this, and I am hoping that perhaps something has happened since then?
To provide some background information, I am conducting coastal science research on wave capture and I have a time series of water surface elevations that I need to analyse to determine the dominant frequencies through time at a fixed location. I am able to do this using a morlet wavelet, but for this research, I need it to be a mexican hat (ricker). Any assistance would be appreciated.

Answers (1)

nick
nick on 10 Nov 2023
Edited: nick on 17 Nov 2023
Hi Rosanne Heart,
I understand that you are facing an issue in finding a command line version of the function to compute 1D CWT using Mexican wavelet.
The documentation of ‘cwt’ only supports morse/bump/amor options. You can refer the following link to use the older version of ‘cwt’ which supports ‘mexh’:
Although the older version is no longer recommended as the newer functions like, ‘icwt’, are not compatible with it.
Hope it helps,
Regards,
Neelanshu

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!