a question about filter kinematics

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Wang Xingyue
Posts: 7
Joined: Wed Nov 25, 2020 1:30 am

a question about filter kinematics

Post by Wang Xingyue » Sun Mar 28, 2021 8:07 pm

hi,
I want to filter the kinematics because the curves are not smooth enough to get nice CMC results. I used two methods. One is using the lowpass function in Matlab2019a. The other is using the OpenSim own filter in CMC Tool interface. But I got different CMC results.Image
Hope someone can help explain it and give me some advice how to choose.
My code:
lateral=load('02lateral.mat');
fs=100;
t=lateral.data.time;
for i = 2:31
x(:,i)=lowpass(lateral.data{:,i},4,fs,'Steepness',0.999);
end
x(:,1)=t;
Attachments
20210329105956.png
20210329105956.png (27.97 KiB) Viewed 404 times

Tags:

User avatar
Wang Xingyue
Posts: 7
Joined: Wed Nov 25, 2020 1:30 am

Re: a question about filter kinematics

Post by Wang Xingyue » Mon Mar 29, 2021 8:10 am

In addition to this question, I want to limit the variation of the muscle fiber length to simulate damaged muscles. How can I do that?

POST REPLY