How factorize equations in Matlab?
Solution 1:
I'd recommend the free and open source CAS Maxima:
which has a factor
and ratsimp
command. Ideally you'd use ASCII characters though, so here is just an example of how that would work:
expr: x^2 - y^2;
print(factor(expr));
Try it online!