Selecting an answer
이전 댓글 표시
Ok here's a brain-teaser type question. It's multiple choice. Enjoy :)
options = {'A','B','C','D};
myAnswer = options{randi(4)};
Now, what is the chance of "myAnswer" being correct for A,B,C,D below?
A) 25%
B) 50%
C) 60%
D) 25%
... and should I get the Statistics Toolbox to help me? :)
댓글 수: 5
Walter Roberson
2011년 11월 7일
Cute ;-)
Jan
2011년 11월 7일
What do the percentage numbers mean? What is the qualitative difference between A) and D)?
Sven
2011년 11월 7일
Andrei Bobrov
2011년 11월 7일
options{randi(4)} - 25% 25% 25% 25%
Sven
2011년 11월 7일
답변 (1개)
카테고리
도움말 센터 및 File Exchange에서 Puzzles에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!