Normalise OpenSim data output to plot against experimental data in MATLAB

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Daniella Bianchi
Posts: 5
Joined: Wed Dec 01, 2021 4:55 pm

Normalise OpenSim data output to plot against experimental data in MATLAB

Post by Daniella Bianchi » Sun Jan 30, 2022 8:12 pm

Hi,

I am attempting to plot and normalise my data from OpenSim as a percentage of the gait cycle in order to compare against my experimental results (which are normalised) and verify the accuracy of my OpenSim analysis. I would like my OpenSim data to be normalised to the gait cycle so that there are 100 data points per angle. I am using a scaled model of gait2354_simbody and have performed inverse kinematics and dynamics.

I know that OpenSim does not support a normalising process and that I need to export my OpenSim data files to use in MATLAB, normalise via code and then plot accordingly. I would be very grateful if someone could offer a MATLAB script example demonstrating how to import the OpenSim data into MATLAB and normalise such data for this % gait cycle plot.

Any code/ tips are greatly appreciated :o

Tags:

POST REPLY