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!