Wavelet Toolbox Previous page   Next Page
wthcoef

Wavelet coefficient thresholding 1-D

Syntax

Description

wthcoef is a one-dimensional de-noising and compression oriented function.

NC = wthcoef('d',C,L,N,P) returns coefficients obtained from the wavelet decomposition structure [C,L] (see wavedec for more information), by rate compression defined in vectors N and P. N contains the detail levels to be compressed and P the corresponding percentages of lower coefficients to be set to zero. N and P must be of same length. Vector N must be such that
1 N(i) length(L)-2.

NC = wthcoef('d',C,L,N) returns coefficients obtained from [C,L] by setting all the coefficients of detail levels defined in N to zero.

NC = wthcoef('a',C,L) returns coefficients obtained by setting approximation coefficients to zero.

NC = wthcoef('t',C,L,N,T,SORH) returns coefficients obtained from the wavelet decomposition structure [C,L] by soft (if SORH='s') or hard (if SORH='h') thresholding (see wthresh for more information) defined in vectors N and T. N contains the detail levels to be thresholded and T the corresponding thresholds. N and T must be of the same length.

[NC,L] is the modified wavelet decomposition structure.

See Also
wavedec, wthresh


Previous page  wtbxmngr wthcoef2 Next page

© 1994-2005 The MathWorks, Inc.