Problem with double sums
1 view (last 30 days)
Show older comments
how to write this function in MATLAB knowing that if I separate the two sums as I wrote one tends to infinity.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/256696/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/256697/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/256698/image.png)
The first idea I wrote
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/256703/image.png)
then check my code in some values of f as an example
but the result is
because ![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/256702/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/256700/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/256701/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/256702/image.png)
2 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Logical 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!