Summation of Poisson CDF
1 view (last 30 days)
Show older comments
r = 0;
while true
if sum(poisscdf(r:r+14,90/52)/15) >= .98,break,end
r = r+1;
end
I tried this code, but when I hit execute nothing showed up in the command window, no error or anything. Is the code wrong in some way?
1 Comment
Roger Stafford
on 23 Feb 2017
That was my code in https://www.mathworks.com/matlabcentral/answers/326440-solving-a-summation-for-unknown-limits-of-integration. The value of r when it finishes is the answer you desire.
Answers (1)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!