필터 지우기
필터 지우기

Bandpower function produces same results for different bands

조회 수: 1 (최근 30일)
chels19
chels19 2016년 7월 12일
댓글: chels19 2016년 7월 13일
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.

답변 (1개)

Greg Dionne
Greg Dionne 2016년 7월 12일
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.
  댓글 수: 1
chels19
chels19 2016년 7월 13일
Thanks. The frequency it was originally recorded at was 512. Should I be using 512 in my code as fs?
fres = 512 / length(x) returns 2.473
Or should I used the maximum frequency I'm looking for (0.4)?
fres = 0.4 / length(x) returns 0.00193

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Bartlett에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by