How can factor this

Hello
from
clear
syms gm gbe gce rl
rin = (gbe*rl+gce*rl+gm*rl+1)/(gbe*(gce*rl+1))
i would like factoring this result
to get
without doing
rin=subs(rin,gbe*rl+gce*rl+gm*rl,rl*(gm+gbe+gce))

 Accepted Answer

prod(cellfun(@(c) collect(c, rl), children(rin)))

More Answers (0)

Asked:

fc
on 8 May 2021

Commented:

fc
on 8 May 2021

Community Treasure Hunt

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

Start Hunting!