24小时热门版块排行榜    

查看: 938  |  回复: 2

我要飞

铁虫 (正式写手)

[求助] 用Matlab如何求和?

如何用Matlab求下面的和?谢谢了!!
http://g.zhubajie.com/urllink.php?id=117758858pw62ts9wywya6kh
回复此楼

» 猜你喜欢

» 本主题相关价值贴推荐,对您同样有帮助:

已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

dbb627

荣誉版主 (著名写手)

★ ★
臭水沟(金币+2): 谢谢交流~~ 2011-11-20 14:14:21
是这个吧
a=0.8, i=100;

The more you learn, the more you know, the more you know, and the more you forget. The more you forget, the less you know. So why bother to learn.
2楼2011-11-20 12:09:51
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

dbb627

荣誉版主 (著名写手)

【答案】应助回帖

★ ★
我要飞(金币+10): 2011-11-20 12:30:33
臭水沟(金币+2): 嗯。。。这个还是比较简单的~~ 2011-11-20 14:14:51
CODE:
a=0.8;
n=100;
s=0;
for k=0:n
    for j=0:k
        Fs=(-1)^k*3^(-j)*gamma(a)*gamma(a);
        Js=gamma(j+1)*gamma(a-j)*gamma(k-j+1)*gamma(a-k+j);
        s=s+Fs/Js;
    end
    s=s*(3/2)^a;
end
s

s =

  2.3101e+014
The more you learn, the more you know, the more you know, and the more you forget. The more you forget, the less you know. So why bother to learn.
3楼2011-11-20 12:19:38
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 我要飞 的主题更新
信息提示
请填处理意见