Apply simplify on individual coefficients after using the collect function
Mostrar comentarios más antiguos
Hello everyone,
I have a complicated symbolic expression that I want to rewrite in terms x and y. So I use: collect(expression,[x,y])
I obtain some result in the form of c1*x+c2*y. Now I want to simplify the c1 and c2 coefficients while still retaining the collected form. Is there any way to do this? When I use simplify, it cancels the collecting of the terms.
I saw that is was possible to write : collect(expression,[x,y],simplify) in MuPad, but it doesn't seem to work in Live scripts.
Thanks!
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Common Operations en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!