How to solve differential equations which has more time dependent arguments ?

2 vues (au cours des 30 derniers jours)
pritesh patel
pritesh patel le 28 Mai 2021
Modifié(e) : Torsten le 29 Mai 2021
I have equation gdot=-k*g+xdot, where xdot=-k*x+sin(t). how can I solve gdot using ode45 ?
  7 commentaires
J. Alex Lee
J. Alex Lee le 29 Mai 2021
haha yes exactly...but now the answer is given away :)
and g should likely be Y(2) as far as we know from pritesh's nomenclature
Torsten
Torsten le 29 Mai 2021
Yes, you are right with the g. I always associate it with the gravity constant ...

Connectez-vous pour commenter.

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by