Error using cwt with some wavelets already present in wavemngr

조회 수: 3 (최근 30일)
Jean-Luc Bruyelle
Jean-Luc Bruyelle 2015년 7월 10일
답변: Lance 2018년 6월 17일
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