I am working with DWT2 on matlab for a 2D matrix of time series data. When I perform dwt2 on the matrix, it returns the follwing four values :
[ca,ch, cv, cd] = dwt2(mat,'db4','mode', 'per')
I read about what these four values CA, CH, CV and CD represent in the link : Discrete Wavelet Transform Matlab
But I did not get, why does dwt2 down samples the given matrix or data by 2? And on what basis it performs the down sampling of the given data?
For example. In my matrix, rows = timestamp and column = attributes/features. After dwt2, it gives me the matrix of [(size row/2) by (column/2)]. The features are reduced from 8 to 4 and also the number of the timestamps in the original matrix is reduced by 2. So does this mean that dwt2 automatically determines the important attributes or features from the original matrix? Also can anyone briefly explain CA, CH, CV, CD as well?