Wavelet Toolbox Previous page   Next Page
detcoef

1-D detail coefficients

Syntax

Description

detcoef is a one-dimensional wavelet analysis function.

D = detcoef(C,L,N) extracts the detail coefficients at level N from the wavelet decomposition structure [C,L]. See wavedec for more information on C and L.

Level N must be an integer such that 1 N NMAX
where NMAX = length(L)-2.

D = detcoef(C,L) extracts the detail coefficients at last level NMAX.

If N is a vector of integers such that 1 N(j) NMAX:

DCELL = detcoef(C,L,N,'cells') returns a cell array where DCELL{j} contains the coefficients of detail N(j).

If length(N) > 1, DCELL = detcoef(C,L,N) is equivalent to DCELL = detcoef(C,L,N,'cells').

DCELL = detcoef(C,L,'cells') is equivalent to DCELL = detcoef(C,L,[1:NMAX])

[D1, ... ,Dp] = detcoef(C,L,[N(1), ... ,N(p)]) extracts the details coefficients at levels [N(1), ... ,N(p)].

Examples

See Also
appcoef, wavedec


Previous page  depo2ind detcoef2 Next page

© 1994-2005 The MathWorks, Inc.