how to format the codes to compute the differential-algebraic equations using ode15s?
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi guys,
I’m trying to use ode15s to solve the dynamic model of a mechanical system in the form of
where M is the mass matrix, q is the vector containing all the state variables, F is the generalised force vector, λ is the Lagrange multiplier vector, and is the constraint Jacobian matrix.
To address this problem, I change the system of equations into
where
Then how to format the codes in Matlab? Many thanks!
댓글 수: 0
답변 (1개)
Torsten
2024년 4월 4일
I don't see a way to use a MATLAB ode integrator to solve your system.
Take a look at
Section Mechanical Systems
for suitable solvers.
댓글 수: 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!