Daubechies Wavelet and Matlab
The wavdec function does not produce a DWT which is non-redundant. Instead, wavdec takes you N levels down the decomposition process. In other words, you shouldn't expect to get 8 coefficients back.