Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Count the number of heads and tails using the sum function with logical indexing.

조회 수: 2 (최근 30일)
L
L 2024년 3월 2일
마감: John D'Errico 2024년 3월 2일
The number of coin flips is 100. How do I count the number of heads and tails using the sum function with
logical indexing? Divide each count by n to get the proportion of heads and tails.

답변 (0개)

이 질문은 마감되었습니다.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by