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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/157766/image.png)
댓글 수: 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에서 Calculus에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!