Solving a system of three second order coupled differential equation

15 ビュー (過去 30 日間)
Ashesh AK
Ashesh AK 2021 年 11 月 18 日
回答済み: J Chen 2021 年 11 月 18 日
Hi,
Please someone help me in solving these three coupled differential equation using ode45
I want to plot three things : in terms of time t
Please someone help me out!!
  1 件のコメント
James Tursa
James Tursa 2021 年 11 月 18 日
Have you looked at the documentation for ode45? There are vector examples that can get you started. In your case, you have three 2nd order equations, so your state vector will be 3*2 = 6 elements. The state vector will be [n1;n2;n3;n1dot;n2dot;n3dot], and you will need initial conditions for this 6-element state vector.

サインインしてコメントする。

回答 (1 件)

J Chen
J Chen 2021 年 11 月 18 日
Use as states and express the derivatives of the states as functions of the states, e.g., d/dt()=etc.

カテゴリ

Help Center および File ExchangeOrdinary Differential Equations についてさらに検索

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by