Symbolic Math Toolbox    
symsum

Symbolic summation.

Syntax

Description
symsum(s) is the summation of the symbolic expression s with respect to its symbolic variable k as determined by findsym from 0 to k-1.

symsum(s,v) is the summation of the symbolic expression s with respect to the symbolic variable v from 0 to v-1.

symsum(s,a,b) and symsum(s,v,a,b) are the definite summations of the symbolic expression from v=a to v=b.

Examples
The commands

return

symsum(k) returns

symsum(sin(k*pi)/k,0,n) returns

symsum(k^2,0,10) returns

symsum(x^k/sym('k!'), k, 0,inf) returns

See Also
findsym, int, syms


 sym2poly taylor