필터 지우기
필터 지우기

Finding the amplitude of different segments of a signal and rejecting the segments with amplitude higher than a particular threshold

조회 수: 4 (최근 30일)
I have an EEG signal and i have segmented them into segments of 1 second interval. I want to calculate the amplitude of each segment and then reject those segments that have very high amplitude (higher than a particular threshold). I want to know how to calculate the amplitude of each segment.

답변 (1개)

Image Analyst
Image Analyst 2014년 1월 19일
Not sure how you define "segment" but if it's simply being greater than some threshold, you can do this
threshold = 128; % or whatever...
segmentsToReject = eeg_signal > threshold; % Can also use < if you want.
Now, I'm not sure what you mean by "reject," but if you simple want to remove those elements, do this:
eeg_signal(segmentsToReject) = []; % Setting to null removes the elements.
  댓글 수: 2
Nishant Prakash
Nishant Prakash 2014년 1월 19일
it is not at all related to image processing. Segments means i am taking each 1 second duration of signal to work with.
Image Analyst
Image Analyst 2014년 1월 20일
But a 1 second "segment" may be 50 or 100 elements, each having a different "amplitude". So how are you defining "very high amplitude" when you have 50 or 100 different values? Are you taking the mean value? The peak value? You have to specify because I can't read your mind.

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

카테고리

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