I'm confused about the difference between a wavelet transform and a wavelet decomposition is. For example
load woman
[cA1,cH1,cV1,cD1] = dwt2(X,'db1');
[c,s] = wavedec2(X,2,'db1');
What's the difference between these two matlab commands, and when would you want to do one over the other?