How to customize the way MATLAB combines an expression with a lot of symbols?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
FAISAL ALQARNI
il 24 Lug 2023
Commentato: Dyuman Joshi
il 25 Lug 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 Commenti
Risposta accettata
Dyuman Joshi
il 24 Lug 2023
Use collect
I assume you already have the Symbolic Math Toolbox
2 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Symbolic Math Toolbox in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!