Coupled odes involving mass matrix
조회 수: 5 (최근 30일)
이전 댓글 표시
I am solving two coupled differential equations. The 1st ode is linear in the variable say x which is a function of time t. The first ode is simple like: dxdt=ax, a=constant.
The 2nd ode is coupled and linear in the variable y. y is a function of time t amd variable x. dydt involves the variable x and t both. Also the 2nd ode is of the form M(t,x)*dydt=F(t,y,x), where M(t,x) is the mass matrix which is a function of both time t and dependent variable x. How do I solve this two odes? And I don't want to invert the mass matrix present on the left hand side of the 2nd ode in order to solve dydt=M(t,x)^-1*F(t,y,x), as inverting the mass matrix produces the error message: Matrix is close to singular or badly scaled. So, I want to solve the 2nd ode by keeping the mass matrix as it is on the left hand side. Any input will be highly appreciated.
Thanks a lot.
댓글 수: 3
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Ordinary Differential Equations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!