Wavelet Toolbox |
New Wavelet for CWT Using the Graphical Interface
The Wavelet Toolbox Main Menu appears. Click the New Wavelet for CWT menu item to display the Pattern Adapted Admissible Wavelet Design Tool.
toolbox/wavelet/wavedemo
. Click the OK button.
The selected pattern denoted by F is defined on the interval [0,1] and is of integral 0.1592. It is not a wavelet, but it is a good candidate because it oscillates like a wavelet.
After a pause for computation, the tool displays the new wavelet in green superimposed with the original pattern in red.
The result is not really satisfactory. A solution is to increase the polynomial degree to fit better the pattern.
After a pause for computation, the tool displays the running signal and the pattern detection by CWT using the adapted wavelet.
The running signal is the superimposition of two dilated and translated versions of the pattern F, namely F((t-20)/8) and F((t-40)/4). The two pairs (position, scale) to be detected are given by (20,8) and (40,4) and are materialized by dashed lines in the lower right graph of the contour plot of the CWT. The detection is perfect because the two local maxima of the absolute values of the continuous wavelet coefficients fit perfectly.
This tool displays the pattern detection performed with the adapted wavelet on the left and db1
wavelet (default) on the right. The two positions are perfectly detected in both cases but scales are slightly underestimated by the db1
wavelet.
The tool allows you to generate various running signals and choose the wavelet to be compared with the adapted one.
New Wavelet for CWT Using the Command Line | Saving the New Wavelet |
© 1994-2005 The MathWorks, Inc.