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 Center および File ExchangeSimulink についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by