Selecting an answer

2 次查看(过去 30 天)
Sven
Sven 2011-11-7
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 个评论
Andrei Bobrov
Andrei Bobrov 2011-11-7
options{randi(4)} - 25% 25% 25% 25%
Sven
Sven 2011-11-7
This video may help:
http://www.youtube.com/watch?feature=player_embedded&v=evKYF1G_uDI

请先登录,再进行评论。

回答(1 个)

LY Cao
LY Cao 2011-11-7
B, have any questions?

类别

Help CenterFile Exchange 中查找有关 Puzzles 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by