Total energy in Time and Frequency Dimain
5 views (last 30 days)
Show older comments
Maria Amr on 12 Dec 2020
Commented: Star Strider on 14 Dec 2020
I truly appreciated if somebody can direct me how to measure total energy in a certain frequency band?
I have a signal and use this code to measure total enery and the result is reasonable.
but it measuers total energy of whole signal. I just want to measure it between [0-100] Hz. Appreciared!
If you have R2018a or later, and the Signal Processing Toolbox, use the bandpass function to selectively filter the frequencies-of-interest. Then do whatever calculations you want to do on the output. If you have an earlier version, it is easy to design filters in MATLAB. I will help you with that, if necessary.
More Answers (2)
As always, my pleaure!
(Also, in the future please post comments as Comments, not Answers.)
Find more on Analog Filters 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!