Could anyone help me to solve the error in the following code
Show older comments
code:
syms n k
n=4
k=0
symsum(nchoosek(n,k),k,0,n)
If i run the code it gives error stating Undefined function 'symsum' for input arguments of type 'double'.
Could anyone help me how to overcome it.
Accepted Answer
More Answers (1)
GK
on 5 Sep 2018
0 votes
3 Comments
jaah navi
on 5 Sep 2018
GK
on 5 Sep 2018
Could you share your code or example of it. Also I want to know, if its series is finite or infinity?
Walter Roberson
on 5 Sep 2018
You would not have been able to use
syms n k
without the Symbolic Math toolbox -- not unless you happened to have Maple installed instead.
Categories
Find more on MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!