Mathematically, the continuous wavelet transform (CWT) computes the inner products of a continuous signal with a set of continuous wavelets according to the following equation:
WTu,a is the resulting wavelet coefficients. ψu, a denotes a continuous wavelet, where u is the shift factor and a is the scale factor of the wavelet. ψ*u,a is the complex conjugate of ψu,a. For the continuous-time signal s(t), the scale factor must be a positive real number, whereas the shift factor can be any real number. If the continuous wavelet ψu,a meets the admissibility condition, you can use the computed wavelet coefficients to reconstruct the original signal s(t).
However, you seldom use the above integration to compute the CWT because of the following reasons:
For these reasons, you usually select a set of discrete values for the scales and shifts of the continuous wavelets and then compute the CWT numerically.
Use the WA Continuous Wavelet Transform VI to compute the CWT by specifying a set of integer values or arbitrary real positive values for the scales and a set of equal-increment values for the shifts.
The following figure shows the procedure that the WA Continuous Wavelet Transform VI follows.
The procedure involves the following steps:
The output of the CWT is the CWT coefficients, which reflect the similarity between the analyzed signal and the wavelets.
You also can compute the squares of the CWT coefficients and form a scalogram, which is analogous to the spectrogram in time-frequency analysis. In signal processing, scalograms are useful in pattern-matching applications and discontinuity detections. If a signal contains different scale characteristics over time, the scalogram can present a time-scale view of the signal, which is more useful than the time-frequency view of that signal. Use the WA Configure Scalogram Indicator VI to display the scalogram on an intensity graph.
The following figure shows a test signal, the Devil's Staircase fractal signal. An important characteristic of a fractal signal is self-similarity.
The following figure shows the scalogram and the STFT spectrogram of the fractal signal, respectively.
In the previous figure, you can see the self-similarity characteristic of the signal clearly in the Scalogram graph but not in the STFT Spectrogram graph. The STFT Spectrogram graph displays the conventional time-frequency analysis result of the signal.
The CWT has the following general disadvantages:
One useful CWT application is the detection of abrupt discontinuities or breakdown points in a signal. The following figure shows an example that detects the breakdown points in a noise-contaminated signal using the WA Continuous Wavelet Transform VI.
The Signal graph in the previous figure shows the HeaviSine signal, which is a common wavelet test signal, contaminated with white noise. The HeaviSine signal is a sinusoid with two breakdown points—one at 51 and the other at 481. The CWT precisely shows the positions of the two breakdown points by doing the following steps:
Breakdown points and noise can generate large values in the resulting coefficients. Breakdown points generate large positive or negative coefficients at all scales. Noise generates positive coefficients at some scales and negative coefficients at other scales. If you accumulate the coefficients at all scales, the coefficients of breakdown points are enlarged while the coefficients of noise at different scales counteract one another. Therefore, the peaks in the CWT Coefficients Cumulation graph correspond only to the breakdown points.
Refer to the Breakdown Point Detection VI in the labview\examples\Wavelet Analysis\WAApplications directory for an example of breakdown point detection in a signal.