How to customize the way MATLAB combines an expression with a lot of symbols?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
FAISAL ALQARNI
el 24 de Jul. de 2023
Comentada: Dyuman Joshi
el 25 de Jul. de 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?
0 comentarios
Respuesta aceptada
Dyuman Joshi
el 24 de Jul. de 2023
Use collect
I assume you already have the Symbolic Math Toolbox
2 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Symbolic Math Toolbox en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!