undefined function or variable k symsum

Why am I receiving an error when using the "symsum" function?
error: Undefined function or variable 'k'.

 Accepted Answer

This error is because the symbolic variable, 'k', needs to be created before using this function.
>> syms k

More Answers (0)

Categories

Find more on Mathematics in Help Center and File Exchange

Products

Release

R2018a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!