Signal Processing EEG ECG

조회 수: 1 (최근 30일)
Efren Lema
Efren Lema 2016년 2월 4일
답변: Daniel M 2019년 11월 9일
Greetings, I have a signal as shown in the graph and want to remove the part B of the signal and to unite in a new vector Part A and C.
I had problems with dimenciones vector A and C.
Any suggestions ...?
  댓글 수: 1
Said BOUREZG
Said BOUREZG 2016년 2월 5일
Do u want to remove the part B of the signal and to unite in a new vector Part A and C automatically or according to the image (data given on image).

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

답변 (1개)

Daniel M
Daniel M 2019년 11월 9일
One method would be to use a moving RMS calculation over a small time window. You should know what a reasonable rms value is (based on the characteristic amplitude and frequency of your signal). Use movmean:
movrms = sqrt(movmean(yourvector .^ 2, nWindowLength));
where nWindowLength is the number of elements to include in your window. When movrms crosses some threshold mark it for deletion until it goes back under that threshold. It would probably help to run it through a lowpass filter first.

카테고리

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