The original and transformed signal are both shown in Fig. 2.1. we have chosen to join the given points by straight line segments to get a good visualization of the signals.
I perform a more drastic compression. this time we choose the threshold equal to 9. the computations are given in Table 2.3, and the graphs are plotted in Fig. 2.2. the peaks in the original signal have been flattened. I note that the signal now is represented by only four non-zero entries.
The transformation performed by calculating means and differences of a signal is an example of the discrete wavelet transform. It can be undone by simply reversing the steps performed. we have also seen that the transformed signal may reveal features not easily seen or detected in the original signal.