How to collect and store the coefficient of symbolic differential equation ?
조회 수: 8 (최근 30일)
이전 댓글 표시
I am trying to model dynamics of 3 link manipulator using EL method using symbolic eqn in matlab and now I want to collect the coefficient of theta_ddot, theta_dot, theta to make M matrix, C matrix, and h matrix.
댓글 수: 0
답변 (1개)
Sam Chak
2022년 5월 26일
Hi Akash,
You can try using coeffs and see if it works for you. Examples are shown in the link.
https://www.mathworks.com/help/symbolic/sym.coeffs.html
댓글 수: 2
참고 항목
카테고리
Help Center 및 File Exchange에서 Calculus에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!