osimC3D- importing c3d files to matlab
Posted: Mon Oct 04, 2021 2:38 am
just switched to OpenSim 4.3 but all those issues were the same at 4.1:
Our lab uses Qualisys QTM for sampling biomechanical data and creating c3d files. I was sampling EMG data+ force plate data and when I was trying to run my matlab+OpenSim pipeline reading the c3d I had some issues.
the TimeSerries table makes no sense it has much more samples (and sample rate-2160 Hz) than the original file (240 Hz)created by exporting directly from the QTM to the Matlab. It seems that somehow the function merges the EMG data with the FP data...
I attached my google drive folder with the relevant C3D, and the corresponding Matlab export (both were created using QTM export)
https://drive.google.com/drive/folders/ ... sp=sharing
any idea what can I do to fix the problem?
another general question:
what is the meaning of the ForceLocation(0 vs 1, 2-is not working at 4.3)?
Our lab uses Qualisys QTM for sampling biomechanical data and creating c3d files. I was sampling EMG data+ force plate data and when I was trying to run my matlab+OpenSim pipeline reading the c3d I had some issues.
Code: Select all
c3d = osimC3D(c3dPath,0);
a= c3d.getTable_forces();
I attached my google drive folder with the relevant C3D, and the corresponding Matlab export (both were created using QTM export)
https://drive.google.com/drive/folders/ ... sp=sharing
any idea what can I do to fix the problem?
another general question:
Code: Select all
osimC3D(path2c3d, ForceLocation)