how to find derivative ?

1 次查看(过去 30 天)
aysha
aysha 2014-4-14
编辑: aysha 2014-4-14
I need to write a c code that do the derivative if we have value of x and how save previous value of it to us it in derivative code using malloc ??
Also am using S-function for that and derivative part to solve my equation: force=-ks * x - ( kd * (dx/dt))

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Simulink 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by