DATA
MATLAB FUNCTIONS
- getOsimData: a tool to plot opensim kinematic curves
- This function will create a vector of OpenSim data within a full stance phase using the format: [d,td] = getOsimData(filename, col, t1, t2) ). “Filename” is the text file containing the matrix of OpenSim data. “Col” is the column of interest, with “t1” and “t2” marking the beginning and end times of the full stance phase or other interval of interest. The normalized time vector, td, can then be plotted against the respective function values, d, of the desired data.
- getWinterData: plots Winter’s kinematic curves for hip, knee, and ankle
- This function will create reference vectors to model Winter’s 1987 kinematics data using the format: [values, percent_gate, sd] = getWinterData(joint). By entering ‘knee’, ‘ankle’, or ‘hip’ into the function, vectors will be returned containing the kinematic angles (values), stance phase percentages (percent_gate), and standard deviation values (sd) of the chosen joint.
MODELS