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.

Answers (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 Comments

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 ?

Sign in to comment.

Products

Release

R2019b

Asked:

on 6 Apr 2021

Commented:

on 7 Apr 2021

Community Treasure Hunt

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

Start Hunting!