How to decompose a signal using wavelet
Wavelet transform is a great tool for signal feature extraction. It is generally used in scientific research. There are two types of the wavelet transform. One is the continuous and the other is the discrete wavelet transform. Depending on the application, the type of wavelet transform is selected.
Wavelet Decomposition in Matlab |
DWT is normally used in signal decomposition. It filters the signal using a high pass and a low pass filter where the coefficients achieved from the low pass filter are called the approximations and the coefficients from the high pass filter are called the detail components. It can also be used to denoise a signal. The same process used in the code can be utilized to filter out noises from a signal.
The choice of wavelet type and level of decomposition is strictly subjective and kinda trial based procedure. You need to find out what works better for your case.
I've taken a sample signal for demonstration. You can basically take any signal and then add gaussian noise to it then try this procedure if you're learning. If you already have a noisy signal we're good to go.
Signal Decomposition using Wavelet in MATLAB
Download the code for wavelet decomposition from the link below.
Watch the Full video on wavelet decomposition
Leave a Comment