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

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 ?

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Numerical 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