y=d2wavelet(x,Fs,level) does the 2nd order Daubechies Wavelet Transform of signal x with a sampling frequency 'Fs' and the DWT is decomposition is done upto a 'level'
It returns the matrix of all decompositions and the final approximations.
Instead of using the matlab's inbuilt DWT function, this file explains the algorithm for DWT. Mostly useful for learning & academic purposes.
For other wavelets, the filter values alone can be changed or WFILTERS can
The function basically is for Condition Monitoring of rotating equipments by vibration based bearing fault diagnosis by the author.
Thanks for Downloading. Don't forget to rate or comment.