How to customize the way MATLAB combines an expression with a lot of symbols?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
FAISAL ALQARNI
am 24 Jul. 2023
Kommentiert: Dyuman Joshi
am 25 Jul. 2023
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 Kommentare
Akzeptierte Antwort
Dyuman Joshi
am 24 Jul. 2023
Use collect
I assume you already have the Symbolic Math Toolbox
2 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Symbolic Math Toolbox finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!