Transform your expression into the particular form you require
(expanded, factored, or expressed in particular terms) by choosing
the appropriate function. See Choose Function to Rearrange Expression. If you just
need a simpler expression, use
You also can substitute for any part of an expression with another
value by using
|Coefficients of polynomial|
|Expand expressions and simplify inputs of functions by using identities|
|Horner nested polynomial representation|
|Extract numerator and denominator|
|Partial fraction decomposition|
|Subexpressions or terms of symbolic expression|
|Combine terms of identical algebraic structure|
|Divisors of integer or expression|
|Isolate variable or expression in equation|
|Left side (LHS) of equation|
|Rewrite expression in terms of another function|
|Right side (RHS) of equation|
|Prettyprint symbolic expressions|
Several functions are available to manipulate expressions. Understand which function to use.
Simplifying symbolic expressions, including assumptions and additional options.
Substitute variables with other variables, numbers, vectors, or matrices.
Evaluate expressions and functions after their variables are assigned values.
This example develops a mathematical model using the Symbolic Math Toolbox to undistort an image and features a local function in the live script.
Simplify the display of long expressions by abbreviating common terms.