How we can segment the time series signal in Matlab?
Show older comments

This is the acceleration signal collected from wearable sensors. How we can segment this signal into window of 0.46 sec. I also want to find the maximum and minimum values of acceleration in the segmented signal.
Answers (1)
Cris LaPierre
on 4 Aug 2020
0 votes
You can accomplish this with the retime function. You first need to convert your data to a timetable. Then call retime using the syntax TT2 = retime(TT1,'regular',method,'TimeStep',dt).
Specify your statistical method in method, and your window size in dt. See this example on how to apply multiple methods.
Categories
Find more on Signal Processing Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!