Using the function symsum.

22 views (last 30 days)
Shane Kosir
Shane Kosir on 25 Oct 2016
Answered: Walter Roberson on 25 Oct 2016
I use symsum(k^2,k,0,4) in the command window but it brings back "undefined function or variable "k"". What else do I need to do?

Answers (1)

Walter Roberson
Walter Roberson on 25 Oct 2016
syms k
symsum(k^2,k,0,4)

Tags

Community Treasure Hunt

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

Start Hunting!