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!