Error using cwt with some wavelets already present in wavemngr

3 views (last 30 days)
Hello everyone,
I am trying to use cwt with wavelets I had on my own using pat2cwav, and it works fine.
Here is my code (I only change the name of the wavelet) : figure; cwt(my_signal,scales,'adp','scalCNT'); grid
But when I try to use 'gaus' as argument for the short name of the wavelet I want to use, or 'coif' as well (actually many of them) , I get the following error message :
********************************************** ERROR ... ------------------------------------------------ Wavelet test ---> Invalid wavelet name: coif. **********************************************
Error using wavemngr (line 256) Invalid argument value.
Error in wavemngr (line 354) i_fam = wavemngr('indw',varargin{1});
Error in intwave (line 74) wtype = wavemngr('type',wname);
Error in cwt (line 146) [val_WAV,xWAV] = intwave(WAV,precis);
I dont understand what is wrong in my code?
Thank you

Answers (1)

Lance
Lance on 17 Jun 2018
I have the same problem when I use the old version of cwt. I want to use my customer designed wavelet from a pattern; however, the new version of cwt does not seem to allow me to do that. Very strange problem here

Community Treasure Hunt

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

Start Hunting!