undefined function or variable k symsum

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

 采纳的回答

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

更多回答(0 个)

类别

产品

版本

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by