Could anyone help me to solve the error in the following code
2 ビュー (過去 30 日間)
表示 古いコメント
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.
0 件のコメント
採用された回答
その他の回答 (1 件)
GK
2018 年 9 月 5 日
3 件のコメント
Walter Roberson
2018 年 9 月 5 日
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.
参考
カテゴリ
Find more on Number Theory 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!