MATLAB Answers

0

Error using cwt with some wavelets already present in wavemngr

Asked by Jean-Luc Bruyelle on 10 Jul 2015
Latest activity Answered by Lance
on 17 Jun 2018
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

  0 Comments

Sign in to comment.

1 Answer

Answer by 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

  0 Comments

Sign in to comment.