I have a raw eeg data and i want to plot the alpha wave(8-12Hz) of this data in the same window . How can i do? please help me

조회 수: 36 (최근 30일)
(name file of eeg raw data is 'data' just have 1 channel)

채택된 답변

Star Strider
Star Strider 2022년 12월 2일
Design a bandpass filter (using bandpass or other appropriate function), filter the signal, and plot it —
Fs = 1000;
L = 1E+4;
t = linspace(0, L-1, L)/Fs;
EEG = randn(size(t));
EEGfilt = bandpass(EEG, [8 12], Fs, 'ImpulseResponse','iir');
figure
plot(t, EEG, 'DisplayName','Unfiltered')
hold on
plot(t, EEGfilt, 'DisplayName','Filtered')
hold off
grid
legend('Location','best')
Make sppropriate changes to get the desired result.
.
  댓글 수: 10
vo
vo 2022년 12월 15일
hi @Star Strider Can you help me one more?
I wonder if I use function bandpass, Do I need a step denoise a signal before, or not?
Star Strider
Star Strider 2022년 12월 15일
I do not understand ‘step denoise a signal’. I would just filter the signal with the bandpass function. There is no specific need to do any other processing on it before filtering it. If you want to do further processing on it afterwards, then it is appropriate to do that on the filtered signal. One such approach could be to remove broadband noise (that no frequency selective filter is capable of completely removing). I do not have your EEG signals, so I cannot determine if that is necessary. (The easiest approach to that problem would be to use the sgolayfilt function.)

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

추가 답변 (0개)

카테고리

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

태그

제품


릴리스

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by