How to build a bandpass filter by using the butter function?

조회 수: 3 (최근 30일)
Diana Eliza Gherman
Diana Eliza Gherman 2020년 4월 22일
Hello,
I am trying to extract the mu suppression values from my dataset, which doesn't allow using EEGLab. I did most of the steps, but I need to add a bandpass filter and I am not sure how.
The frequency band I would need is 8-13, my sampling rate is 1000 and I was told I would need an order of between 8 and 10.
The MATLab documentations lists this example:
[A,B,C,D] = butter(10,[500 560]/750); d = designfilt('bandpassiir','FilterOrder',20, ... 'HalfPowerFrequency1',500,'HalfPowerFrequency2',560, ... 'SampleRate',1500);
However, I am not sure, what parameters I need to use for my case except for sampling rate and filter order. Also, it is not clear to me what is [A,B,C,D]. I would appreciate any input, I am new to EEG analysis and MATLAB.
Answer this question

답변 (0개)

카테고리

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