Symbolic Math Toolbox    
collect

Collect coefficients.

Syntax

Description
For each polynomial in the array S of polynomials, collect(S) collects terms containing the variable v (or x, if v is not specified). The result is an array containing the collected polynomials.

Examples
The following statements

return

See Also
expand, factor, simple, simplify, syms


 ccode colspace