Energy of signal using Wavelet coefficients
8 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
回答(1 个)
Nripendra Malhotra
2018-11-5
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)
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Continuous Wavelet Transforms 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!