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.

Antworten (1)

Mathieu NOE
Mathieu NOE am 6 Apr. 2021

1 Stimme

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 Kommentare

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
sure, it's the same process with cumtrapz to integrate the velocity to get the displacement
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.
hello
can you share the code + data ?

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Numerical Integration and Differential Equations finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2019b

Gefragt:

am 6 Apr. 2021

Kommentiert:

am 7 Apr. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by