Info

この質問は閉じられています。 編集または回答するには再度開いてください。

How can I solve 6 different first order ODEs (Three DOF) with ODE45 in three different conditions

1 回表示 (過去 30 日間)
MG
MG 2020 年 10 月 13 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
  1. I have to write one script ( main program) and one script (ode45 function) containig those diffreential equations ( I have done this part)
  2. but I am confused about the algorithom ,how Can I get the results for three different conditions and plot them
  1 件のコメント
Athul Prakash
Athul Prakash 2020 年 10 月 16 日
If you could attach your code, that would explain the problem exactly and we may provide answers referencing your code.
In which script did you write the constraints?

回答 (1 件)

Athul Prakash
Athul Prakash 2020 年 10 月 16 日
I'm not sure which script contains your constraints. In general, you may try writing a third script to invoke the first two from. You could collect the values in the new script and plot them at the end. Perhaps you could change your scripts to functions instead, in order that the values are returned to the calling code instead of being displayed/plotted.
Hope it helps!

この質問は閉じられています。

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by