Master Thesis Code
by Simon Moser
Loading...
Searching...
No Matches
jumpZeroVelocityDetection.m File Reference

this function performs a zero velocity detection on the provided data. More...

Go to the source code of this file.

Functions

function jumpZeroVelocityDetection (in data, in options)
 

Detailed Description

this function performs a zero velocity detection on the provided data.

Parameters
data- data structured as defined in jumpReadData
options.plot- boolean to enable plotting (default: false)
options.method- method to use for zero velocity detection (default: "movstd_acc_gyr")
options.windowSize- window size for the moving standard deviation (default: 100)
options.threshold_acc- threshold for the acceleration (default: 0.15 m/s^2)
options.threshold_gyr- threshold for the angular velocity (default: 0.15 deg/s)
Return values
zv- logical vector indicating zero velocity (1) and movement (0)

The methods works as follows:

  • movstd_acc_gyr: calculates the moving standard deviation of the acceleration and angular velocity. If the standard deviation is below the threshold for both acceleration and angular velocity, the data is considered zero velocity.

Definition in file jumpZeroVelocityDetection.m.

Function Documentation

◆ jumpZeroVelocityDetection()

function jumpZeroVelocityDetection ( in data,
in options )