Explanation of wavelet analysis matlab program