break up filtered EMG data into epochs
조회 수: 9 (최근 30일)
이전 댓글 표시
hello,
I have a filtered EMG signal that i have to break up into 1.5s epochs so i could apply a periodogram function. But i am not sure how to break it up with a simple command.
댓글 수: 0
채택된 답변
Ameer Hamza
2020년 10월 23일
Try something like this
t = linspace(0, 10, 1000);
eeg_signal = rand(size(t)); % eeg-signal
grps = ceil((t+eps).'/1.5);
eeg_split = splitapply(@(x,y) {[x, y]}, t(:), eeg_signal(:), grps);
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Digital Filter Analysis에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!