MATLAB: Can I solve symbolic mathematical operations with matlab

equationmathematicMATLABoperationsymbolic

For instance:
(a+b)^2
a^2 + 2*a*b + b^2
(a+b+c)^2
a^2 + b^2 + c^2 + 2*a*b + 2*b*c + 2*a*c

Best Answer

syms a b
expand( (a+b)^2 )
Related Question