HD-sEMG data segmentation

1 次查看(过去 30 天)
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 个评论
Star Strider
Star Strider 2024-3-20
My pleasure!
If my Answer helped you solve your problem, please Accept it!
.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by