CoefficientPlot

Prototype

void CoefficientPlot( Matrix Decomposition, Matrix ThreshOpt, int StartLevel, int EndLevel, String HowScaled, String Header )

Parameters

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", the 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 "Coefficient Plot" is used.

Remarks

This module creates a ScatterPlot with annotations that displays the magnitude of the scaling coefficients of the wavelet decomposition from level StartLevel to level EndLevel.

Example
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 CoefficientPlot( decomp, , 4, , "absolute", );
See Also

Constants for Wavelet Functions and Modules