Having trouble with symprod

Hi
I would like to run the following:
K=3;
Ck_vec=[2 3 3];
Ck_vec=int64(Ck_vec)
mk_vec=[4 4 4];
mk_vec=int64(mk_vec)
syms k;
symprod(nchoosek((Ck_vec(k)-1+mk_vec(k)),(Ck_vec(k)-1)),k,1,K)
But it keeps returning an error and I am not sure what to do to fix it.
Any help appreciated.
Thanks,
Erin

回答(0 个)

类别

在 帮助中心 和 File Exchange 中查找有关 MATLAB 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by