Wavelet Toolbox Previous page   Next Page
detcoef2

2-D detail coefficients

Syntax

Description

detcoef2 is a two-dimensional wavelet analysis function.

D = detcoef2(O,C,S,N) extracts from the wavelet decomposition structure [C,S] (see wavedec2 for more information), the horizontal, vertical or diagonal detail coefficients for O = 'h'(or 'v' or 'd', respectively), at level N.

N must be an integer such that 1 N size(S,1)-2.

See wavedec2 for more information on C and S.

[H,V,D] = detcoef2('all',C,S,N) returns the horizontal H, vertical V, and diagonal D detail coefficients at level N.

D = detcoef2('compact',C,S,N) returns the detail coefficients at level N, stored row-wise.

detcoef2('a',C,S,N) is equivalent to detcoef2('all',C,S,N).

detcoef2('c',C,S,N) is equivalent to detcoef2('compact',C,S,N).

Examples

See Also
appcoef2, wavedec2


Previous page  detcoef disp Next page

© 1994-2005 The MathWorks, Inc.