Wavelet Decomposition of Complex-Valued Signal Using Wavelet Signal Analyzer
Load the NPG2006 dataset. Extract the complex-valued signal from the
npg2006 structure array.
npgdata = npg2006.cx;
Open Wavelet Signal Analyzer and import the signal into the app. A four-level nondecimated wavelet decomposition of the signal appears. By default, the app plots the real and imaginary parts of the decomposition and reconstruction.
Show the histogram of the level 3 coefficients. On the Analyzer tab, in the Statistics section, click the arrow to open the gallery. Under By Level, click Histogram. Set the histogram level to the third level. Because the decomposition is complex valued, the app shows separate histograms of the real and imaginary parts of the coefficients.
Display the autocorrelation of the coefficients at level 2. On the Analyzer tab, in the Statistics section, click the arrow to open the gallery. Under By Level, click Autocorrelation. Set the autocorrelation level to the second level.
Enable compression by clicking Compress in the Analyzer tab. For complex-valued signals, you apply thresholds to the coefficient magnitudes.
View the sorted magnitudes of the coefficients.
Specify a global threshold of 30. The app sets the coefficients whose magnitudes are in the interval [-30, 30] to 0.
View the thresholded coefficients.
View only the real part of the original and compressed signals.