Type help wavelet to see the available commands. The last entry of lvec is the length of the signal sig . The rows show the sizes of wavelet coefficients on each level. The top row for level 1 shows the wavelet coefficients on the coarsest level, the bottom row shows the wavelet coefficients on the finest level.
Red colors correspond to large absolute values, blue colors to small absolute values.
The colors are normalized for each row separately , so that white corresponds to the largest absolute value in each row, and black to the smallest absolute value. Type colorbar to add a bar showing the numerical values corresponding to the colors. Note that in these plots the coarsest level is on the top, and the finest level on the bottom. N l -1 are used. In class I assumed that the signal is periodic.