How to customize the way MATLAB combines an expression with a lot of symbols?
1 回表示 (過去 30 日間)
古いコメントを表示
The expression below is combined in terms of phi_dot, theta_dot and psi_dot. I want it to be combined in terms of i_B, j_B and k_B. So how to tell MATLAB what variables I want it to consider when combining the terms of an expression?![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1441188/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1441188/image.png)
0 件のコメント
採用された回答
Dyuman Joshi
2023 年 7 月 24 日
Use collect
I assume you already have the Symbolic Math Toolbox
2 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Symbolic Math Toolbox についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!