How do I solve two different differential equations at the same time?

I have a problem where I have to find the ideal rotation of a drum given many parameters. The solution has boiled down to too different ODEs.
where Fd_x is a 100x1 matrix and where Fd_y is also a 100x1 matrix. How would I go about solving this? Would I use ODE45?
Thank you for your help.

回答 (1 件)

Mathieu NOE
Mathieu NOE 2021 年 4 月 6 日

1 投票

hello
to do simple integration, you could start with cumtrapz to get the velocity data (from the force inputs)
the time vector is the same for both equations

4 件のコメント

Nicholas Carreon
Nicholas Carreon 2021 年 4 月 6 日
I just realized that I forgot half of the equations so my bad. Would a simple integration still work if the other two equations are and
Mathieu NOE
Mathieu NOE 2021 年 4 月 6 日
sure, it's the same process with cumtrapz to integrate the velocity to get the displacement
Nicholas Carreon
Nicholas Carreon 2021 年 4 月 6 日
I used it and it gave me a graph but i'm not sure its correct because each value in the matrix is a different independent velocity.
Mathieu NOE
Mathieu NOE 2021 年 4 月 7 日
hello
can you share the code + data ?

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

カテゴリ

ヘルプ センター および File ExchangeNumerical Integration and Differential Equations についてさらに検索

製品

リリース

R2019b

質問済み:

2021 年 4 月 6 日

コメント済み:

2021 年 4 月 7 日

Community Treasure Hunt

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

Start Hunting!

Translated by