Bandpower function produces same results for different bands
1 view (last 30 days)
Show older comments
I'm using the bandpower function with different frequency bands. However, the results from each band are the same. The code I'm using is:
avpow = bandpower(x, fs, [0.0 0.4])
HF = bandpower(x, fs, [0.15 0.4]) %high frequency
LF = bandpower(x, fs, [0.04 0.15]) %low frequency
VLF = bandpower(x, fs, [0.0033 0.04]) %very low frequency
Any help is greatly appreciated.
0 Comments
Answers (1)
Greg Dionne
on 12 Jul 2016
You might not be giving it enough data to resolve the lower frequencies. You generally will have a resolution on the order of fres = fs / length(x). Since your lowest frequency band ends at 0.04 Hz, make sure fres << 0.04 Hz.
See Also
Categories
Find more on Bartlett 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!