In symbolic expression, how can I factorize terms that has common variables?

7 views (last 30 days)
I have this expression
det =
I used collect but it returns the following
collect(det,x)
ans =
So, It has been factorized only with resect to x and x.^2 variables.
Is there a way to obtain the equation with the factorization with respect to all the variables?
Thank you ivery much in advance for your help!
Laura
  6 Comments
laura bagnale
laura bagnale on 15 Jun 2021
Dear Walter,
Thank you very much for your help. The first approach that you suggested was that I was looking for.
This is very helpful, like all your previous suggestions.
Kind Regards,
Laura

Sign in to comment.

Answers (0)

Products


Release

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!