Feature extraction using DWT and WPT
Show older comments
Hi,
Can anyone confirm if my method of feature extraction is correct or not? I have used DWT and later WPT to decompose and extract features from vibration signals.
For DWT, I used the following MATLAB functions:
Example:
x1= signal;
[cA1,cD1]= wavedec(x1,1,'db4');
...
plot(cA1); title('Level-1 Approximation Coefficients')
figure(1); subplot(313);
plot(cD1); title('Level-1 Detail Coefficients')
k1=kurtosis(cA1) %E.g of one parameter used to extract some features%Approximation%
k2=kurtosis(cD1) %details%
...
And other statistical parameters.
My extracted features, after being used as inputs for the ANN classifier, showed that approximations are better than details, and performed with a very high classification rate.
I haven't found a reason to reconstruct the signal or using any filters (i.e. Low and high filters)?!
MATLAB staff and experts, can you confirm my method or correct me please?
5 Comments
Tubi
on 20 Feb 2018
Bernhard Suhm
on 23 Feb 2018
Edited: Bernhard Suhm
on 23 Feb 2018
There is nothing obviously wrong with what you do or your result. If you provided your data, maybe we could tell more.
shivu shetty
on 24 Mar 2018
can i get that feature extraction using wavelet code
Rasheed Majeed
on 15 Sep 2021
Dear Tubi
I think you have some error in subplot , Index must be a 3 -digit number of the format mnp
Rasheed Majeed
on 16 Sep 2021
Sorry dear Tubi
Your expression for subplot is Correct .
Answers (1)
Bernhard Suhm
on 25 Mar 2018
0 votes
You could try using wavelets, the basic documentation is here: https://www.mathworks.com/help/wavelet/ref/dwtfilterbank.wavelets.html. That requires the Wavelet toolbox though, which you could get via a trial.
Categories
Find more on AI for Signals and Images in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!