Please help me write this summation in MATLAB
Show older comments
I am trying to write this double summation in MATLAB. However, I am not getting the correct. Please help me write this.

Please note that the upper limit in the second summation is the floor function.
7 Comments
Dyuman Joshi
on 1 Jan 2023
What have you tried yet? Please show your code.
Manotosh Kumbhakar
on 1 Jan 2023
Edited: Manotosh Kumbhakar
on 1 Jan 2023
Torsten
on 1 Jan 2023
Manotosh Kumbhakar
on 1 Jan 2023
Walter Roberson
on 1 Jan 2023
When I tested the inner symsum early this morning, I found that it gave the wrong results when the upper bound uses floor. I will write this up later today.
Torsten
on 1 Jan 2023
So the floor function cannot be used in symbolic summation ?
Walter Roberson
on 1 Jan 2023
False alarm. I was working on my phone in MATLAB Mobile in the early hours of the morning, and did not notice that in one case I was using 1/(2*k+1) but in another case I was using 1/(2*k-1)
Accepted Answer
More Answers (0)
Categories
Find more on Mathematics 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!




