These are 2 functions and one dummy dataset for segmenting strides in horses (PeerJ supplement)
Updated 18 Mar 2015

View License

These functions supplement the PeerJ article by S.D. Starke and H.M. Clayton: A universal approach to determine footfall timings from kinematics of a single foot marker in hoofed animals. This function segments motion capture data of a dorsal hoof marker into discrete strides and outputs foot on/off events as well as graphics of the segmentation.
SegmentStridesThresholdbased executes stride segmentation based on thresholds as described in Section A and B of the paper.

SegmentStridesEventbased executes stride segmentation based on events as described in Section C and D of the paper.

Dataset Horse6_trot_circle_left_04.csv can be used to test out the functions.

Please note that this is the first time the functions are available to the community and we can obviously not guarantee that they will work with any dataset, although we hope so. The code is written in a very functional manner and can hopefully be followed easily.

Cite As

Sandra Starke (2024). SegmentStrides (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2013a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Computer Vision Toolbox Supported Hardware in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes