Energy of signal using Wavelet coefficients
Show older comments
Hi All,
I am having a vibration signal obtained by an accelerometer. i want to perform continuous wavelet transforms (CWT) on this signal and i can do that by using "cwt" command. i also want to calculate the energy of the signal from the wavelet coefficients. how can i calculate the signal energy from wavelet coefficients.
Answers (1)
Nripendra Malhotra
on 5 Nov 2018
0 votes
you can do the cwt of the signal coeff = cwt(x)
where coeff are you continuous wavelet transform and x is your signal
For energy energy = sqrt(sum(abs(coeff).^2,2)); percentage = 100*energy/sum(energy); [maxpercent,maxScaleIDX] = max(percentage)
Categories
Find more on Continuous Wavelet Transforms in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!