how to find derivative ?

1 visualizzazione (ultimi 30 giorni)
aysha
aysha il 14 Apr 2014
Modificato: aysha il 14 Apr 2014
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))

Risposte (0)

Categorie

Scopri di più su Simulink in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by