Wavelet Toolbox    
wthresh

Perform soft or hard thresholding

Syntax

Description

Y = wthresh(X,SORH,T) returns the soft (if SORH = 's') or hard (if SORH = 'h') T-thresholding of the input vector or matrix X. T is the threshold value.

Y = wthresh(X,'s',T) returns

, soft thresholding is wavelet shrinkage ( (x)+ = 0 if x < 0; (x)+ = x, if x 0 ).

Y = wthresh(X,'h',T) returns , hard thresholding is cruder.

Examples

See Also
wden, wdencmp, wpdencmp


  wthcoef2 wthrmngr