void MRADecomp( Matrix Decomposition, Matrix ThreshOpt, int StartLevel, int EndLevel, String HowScaled, String Header )
Matrix Decomposition
A wavelet decomposition produced by the WAVFT subroutine.
Matrix ThreshOpt
A numeric vector with four elements that specifies the thresholding to be used. If this parameter is not specified, no thresholding is performed. The documentation for the WAVIFT subroutine
describes the use of the ThreshOpt vector.
int StartLevel
A scalar that specifies the lowest level to be displayed in the plot. If this parameter is not specified, the starting level of the decomposition is used.
int EndLevel
A scalar that specifies the highest level to be displayed in the plot. If this parameter is not specified, the end level of the decomposition is used.
String HowScaled
If HowScaled is "absolute", coefficients at all levels are displayed on a single absolute scale. Otherwise, each level is scaled independently. If this parameter is not specified, each
level is scaled independently.
String Header
The title of the plot. If this parameter is not specified, the default title "Multiresolution Decomposition" is used.
This module creates a LinePlot that displays a multiresolution decomposition from level StartLevel to level EndLevel. The bottom graph shows the scaling coefficients at level StartLevel. Subsequent graphs display detail coefficients for intermediate levels. The top graph shows a reconstruction at level EndLevel that approximates the original data using only the detail and scaling coefficients defined below that level.
PI = 4 * atan( 1 ); x = T( do(0, 1, 1/1023) ); y = sqrt( x#(1-x) ) # sin( PI*2.1/(x+0.05) ); call wavft( decomp, y, WAV_HAAR ); call MRADecomp( decomp, WAV_SURESHRINK, 4, 9, "absolute", );