1-D detail coefficients extraction
D=detcoef(C,L,[N])
reconstructed detail coefficient
coefficent array
length array
restruction level with N<=length(L)-2
detcoef is for extraction of detail coeffient at different level after a multiple level decompostion. Extension mode is stored as a global variable and could be changed with dwtmode. If N is omitted, the detail coefficients will extract at the maximum level (length(L)-2).
The length of D depends on the level N.
C and L can be generated using wavedec.