How to calculate a sum using only the odds index ?
2 次查看(过去 30 天)
显示 更早的评论
I need to calculate this sum. I am using symsum but I don't know how to specify the odds index only.
0 个评论
回答(1 个)
Walter Roberson
2016-11-8
syms P a D M N
Pi = sym('pi');
w_max = 4*P*a^2/(Pi^4 * D) * symsum( symsum( 1/((M*2-1)^2+(N*2-1)^2)^2, N, 1, inf), M, 1, inf)
However, this is only able to eliminate one level of the symsum. The other is difficult to eliminate to a closed form.
2 个评论
Walter Roberson
2016-11-8
The approximately 0.2825068 that shows up for the above line agrees with my calculations from another package.
Notice that you neglected 4*P*a^2/(Pi^4 * D)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Surface and Mesh Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!