DMelt:DSP/4 Wavelets

From HandWiki
Jump to: navigation, search
Limitted access. First login to DataMelt if you are a full DataMelt member. Then login to HandWiki as a user.

Wavelets

Wavelets are mathematical functions that decompose data into different frequency components and then study each component with a resolution matched to its scale. A good introduction to wavelets is given Wavelet article. Below we show how to use wavelets using the "jsci" package which is incorporated into the the core of the DataMelt package.

In this example, we will create a 1D vector of Gaussian numbers and transform using Fast Wavelet Transform (daubechies 2). We convert the input array into a histogram for visualization. Then we extract coefficients and convert the signal back. Then we compare the original data with the converted ones.

You will see 2 identical histograms. Please refer the package jsci.maths.wavelet.