필터 지우기
필터 지우기

EEG preprocessing using bandpass filter

조회 수: 14 (최근 30일)
Maanvi Bhatnagar
Maanvi Bhatnagar 2017년 11월 1일
편집: Star Strider 2022년 12월 12일
I have EEG data obtained from BCI Competition III dataset IIIA. I want to band pass this data in 8-13 HZ. Currently, the data is in the frequency range of 0-50HZ.How do I apply Butterworth filter on this data? What should be the ideal filter order?can somebody provide the code?

답변 (1개)

Ashish Tiwari
Ashish Tiwari 2019년 12월 28일
First of all let me know the sampling frequency you are working on. if your sampling frequency is 128HZ then normalise your lower cut off frequency and upper cut off frequency like this:
Fs=128;
for signals between 8-13Hz:--
[8 13]/Fs/2
then put this in butter function
[b,a]=butter(10,[8 13]/Fs/2);%where 10 is the order of the filter.The resulting bandpass and bandstop designs are of order 2n.i.e. 20th order
  댓글 수: 2
vo
vo 2022년 12월 12일
@Ashish Tiwari Why the bandpass [flo fhi]/128/2 ? I don't know why? why must divide 128/2? Can you explain for me? thank you
Star Strider
Star Strider 2022년 12월 12일
편집: Star Strider 2022년 12월 12일
@vo — It is necessary to divide the frequencies in Hz by the Nyquist frequency (the highest uniquely identifiable frequency in a sampled signal, one-half the sampling frequency) in order to normalise the signal on the interval radians/independent variable unit (seconds, centimetres, etc.), although actually to the interval as arguments to the MATLAB filter design functions.

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

카테고리

Help CenterFile Exchange에서 EEG/MEG/ECoG에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by