Common factor

16 views (last 30 days)
cyberdyne
cyberdyne on 29 Sep 2011
Commented: Zoya Saevna on 3 Feb 2021
Is there a function to make it find a common factor in an expression with symbolic variables?
For example:
ab+ac--(matlab command)--->a(b+c)
Thanks

Answers (1)

Andrei Bobrov
Andrei Bobrov on 29 Sep 2011
help factor
syms a b c
factor(a*c + b*c)
  5 Comments
Zoya Saevna
Zoya Saevna on 3 Feb 2021
You shouldn't be kidding!

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!