Apply simplify on individual coefficients after using the collect function
古いコメントを表示
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!
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Common Operations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!