Error using cwt with some wavelets already present in wavemngr

3 次查看(过去 30 天)
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

回答(1 个)

Lance
Lance 2018-6-17
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

类别

Help CenterFile Exchange 中查找有关 Continuous Wavelet Transforms 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by