Wavelet Toolbox Previous page   Next Page
wthresh

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


Previous page  wthcoef2 wthrmngr Next page

© 1994-2005 The MathWorks, Inc.