필터 지우기
필터 지우기

HD-sEMG data segmentation

조회 수: 1 (최근 30일)
Alyaa Ghazi
Alyaa Ghazi 2024년 3월 19일
댓글: Star Strider 2024년 3월 20일
Hi every one,
I have a data of ( 400000*9) matrix, and I need to segment it into: first: nonoverlaping with window size is 32 ms, and second with overlaping 50% of the window size ,the sampling frequency of the original data is 2048

채택된 답변

Star Strider
Star Strider 2024년 3월 19일
Use the Signal Processing Toolbox buffer function on each column individually.
The number of samples to use as the second argument is the time multiplied by the sampling frequency.
Here, that is —
Fs = 2048;
segment = 32E-3;
samples = round(Fs * segment)
samples = 66
Other options to produce an integer for ‘samples’ are floor or ceil. The buffer funciton can also accommodate the overlap requirement.
.
  댓글 수: 2
Alyaa Ghazi
Alyaa Ghazi 2024년 3월 19일
thank u
Star Strider
Star Strider 2024년 3월 20일
My pleasure!
If my Answer helped you solve your problem, please Accept it!
.

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Bartlett에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by