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.

Respuestas (1)

Mathieu NOE
Mathieu NOE el 6 de Abr. de 2021
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 comentarios

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 ?

Iniciar sesión para comentar.

Categorías

Más información sobre Numerical Integration and Differential Equations en Centro de ayuda y File Exchange.

Productos

Versión

R2019b

Preguntada:

el 6 de Abr. de 2021

Comentada:

el 7 de Abr. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by