Hi,
I have used c3d convert to extract trc and mot files. I could see that all my subjects are perpendicular to x axis like lying down to the floor, if I go to GUI and transform X=90 degrees its fine. Now i have 1000s of files, can I do this transformation programmatically? I use matlab to do Opensim programming. If transformations can be done programmatically, please let me know how.
Thanks
Mritula
Transform mot & trc files automatically
- Mritula Chandrasekaran
- Posts: 94
- Joined: Tue Dec 19, 2017 5:36 am
- Mohammadreza Rezaie
- Posts: 409
- Joined: Fri Nov 24, 2017 12:48 am
Re: Transform mot & trc files automatically
Hi,
If you use c3dExport.m, you can see an option for rotation the c3d data:
Hope this help.
Regards
If you use c3dExport.m, you can see an option for rotation the c3d data:
Code: Select all
c3d.rotateData('x',-90)
Regards