undefined function or variable k symsum

12 views (last 30 days)
Why am I receiving an error when using the "symsum" function?
error: Undefined function or variable 'k'.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 23 Apr 2018
This error is because the symbolic variable, 'k', needs to be created before using this function.
>> syms k

More Answers (0)

Products


Release

R2018a

Community Treasure Hunt

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

Start Hunting!