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

조회 수: 2 (최근 30일)
pritesh patel
pritesh patel 2021년 5월 28일
편집: Torsten 2021년 5월 29일
I have equation gdot=-k*g+xdot, where xdot=-k*x+sin(t). how can I solve gdot using ode45 ?
  댓글 수: 7
J. Alex Lee
J. Alex Lee 2021년 5월 29일
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 2021년 5월 29일
Yes, you are right with the g. I always associate it with the gravity constant ...

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Ordinary Differential Equations에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by