Symbolic Math Toolbox | Search  Help Desk | |
simplify | Examples | See Also |
R = simplify(S)
simplify(S)
simplifies each element of the symbolic matrix S
using Maple simplification rules.
simplify(sin(x)^2 + cos(x)^2)
returns
1
simplify(exp(c*log(sqrt(a+b))))
returns
(a+b)^(1/2*c)The statements
S = [(x^2+5*x+6)/(x+2),sqrt(16)]; R = simplify(S)return
R = [x+3,4]
collect
, expand
, factor
, horner
, simple