How to Segment EMG data into time intervals
12 views (last 30 days)
Show older comments
Ryan Chhiba
on 25 Feb 2021
Commented: Star Strider
on 25 Feb 2021
I have 2 minutes of filtered data that needs to be segmented into 20msec intervals, how would I go about doing that? It was collected at 2048 Hz and there is a total of 245762 data points.
0 Comments
Accepted Answer
Star Strider
on 25 Feb 2021
Edited: Star Strider
on 25 Feb 2021
It uses samples as one of its arguments, however that is straightforward to calculate:
Fs = 2048; % Sampling Frequency (samples/sec)
segment = 0.02; % Segments (20 ms)
Samples = round(Fs * segment); % Sample Length
4 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!