Symbolic Math Toolbox | ![]() ![]() |
Syntax
Description
expand(S)
writes each element of a symbolic expression S
as a product of its factors. expand
is most often used only with polynomials, but also expands trigonometric, exponential, and logarithmic functions.
Examples
expand([sin(2*t), cos(2*t)])
returns
See Also
collect
, factor
, horner
, simple
, simplify
, syms
![]() | expm | ezcontour | ![]() |