Page 1 of 1

OpenSim filter

Posted: Mon Mar 30, 2020 6:18 pm
by yangkaiwen
Hello all,

What type of filter is opensim using when doing RRA or CMC? I am trying to filter the kinematics myself in Matlab and give OpenSim Matlab-filtered kinematics for CMC. How can I design this filter in Matlab?

I am aware that matlab has the "butter" function, is this the type of filter implemented in Opensim? What is the order of the filter?

Kaiwen

Re: OpenSim filter

Posted: Wed Apr 01, 2020 1:25 am
by mitkof6
The dynamics tool perform the following:

https://github.com/opensim-org/opensim- ... l.cpp#L284
https://github.com/opensim-org/opensim- ... l.cpp#L160

The filter of order 3 Butterworth low pass filter implemented as IIR.

Re: OpenSim filter

Posted: Sat Apr 04, 2020 5:41 pm
by yangkaiwen
This is what I need. Thank you!

Kaiwen