MATLAB: Expand summations with different indexes symbolically

expand sumexpand summationexpand summation symbolicallysum

Will MATLAB expand summations with different indexes symbolically like this one?

Best Answer

MATLAB does not offer a ∑ operator.
MATLAB offers sum(), which when applied to numeric values, just adds the values.
If you have the Symbolic Toolbox, then can sum() a symbolic expression that has a symbolic subscript; the result will be expanded if it is simple enough.
Related Question