how to factor a analytic expression ?
Show older comments
clear all
clc
syms x
A=x.^2+x
i would like to factor A in a way that's A =x(x+1)
thank you
Answers (1)
Torsten
on 9 Mar 2022
0 votes
F = factor(A) ;
A = F(1)*F(2);
does not work ?
1 Comment
Rabih Sokhen
on 9 Mar 2022
Categories
Find more on Calculus in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!