Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

wthcoef

1-D wavelet coefficient thresholding

Syntax

NC = wthcoef('d',C,L,N,P)
NC = wthcoef('d',C,L,N)
NC = wthcoef('a',C,L)
NC = wthcoef('t',C,L,N,T,SORH)

Description

wthcoef thresholds wavelet coefficients for the denoising or compression of a 1-D signal.

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 1N(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.

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using MATLAB® Coder™.

See Also

|

Introduced before R2006a

Was this topic helpful?