How to customize the way MATLAB combines an expression with a lot of symbols?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
FAISAL ALQARNI
le 24 Juil 2023
Commenté : Dyuman Joshi
le 25 Juil 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 commentaires
Réponse acceptée
Dyuman Joshi
le 24 Juil 2023
Use collect
I assume you already have the Symbolic Math Toolbox
2 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Symbolic Math Toolbox dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!