Finding Probability by using loop
조회 수: 4 (최근 30일)
이전 댓글 표시
I want to find the probability using the following equation:

where n=48, k=7, α=0.995
답변 (1개)
Febo Cincotti
2023년 6월 1일
I would proceed to implement the formula step by step.
First, compute the addends of the sum.
Hint: nchoosek(n,m) returns
, (1-alpha)^m returns
and alpha^(n-m) returns 
Then you only need to compute Pr = 1 - sum(addends)
Hope this helped with your homework
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!