HD-sEMG data segmentation
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Alyaa Ghazi
el 19 de Mzo. de 2024
Comentada: Star Strider
el 20 de Mzo. de 2024
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
0 comentarios
Respuesta aceptada
Star Strider
el 19 de Mzo. de 2024
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)
Other options to produce an integer for ‘samples’ are floor or ceil. The buffer funciton can also accommodate the overlap requirement.
.
2 comentarios
Star Strider
el 20 de Mzo. de 2024
My pleasure!
If my Answer helped you solve your problem, please Accept it!
.
Más respuestas (0)
Ver también
Categorías
Más información sobre Get Started with MATLAB en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!